I'm customising the prebuilt TI source code for device AM335_SK, android ver 4.0.3 (ICS). When I upgrade my app, the settings dialog shows I need to set permissions to install 3rd party apps. How do I change the default settings for System Security.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm customising the prebuilt TI source code for device AM335_SK, android ver 4.0.3 (ICS). When I upgrade my app, the settings dialog shows I need to set permissions to install 3rd party apps. How do I change the default settings for System Security.
Temporarily enabling Settings -> Security -> Unknown sources should fix this. Do you want to make it enabled from your Android build?
Hi Preyas,
Find the settings from frameworks/base/packages/SettingsProvider/res/values/defaults.xml
<bool name="def_install_non_market_apps">false</bool>
Modify it to the desired value
<bool name="def_install_non_market_apps">true</bool>
Add it to device/ti<product name>/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
Recompile full android
Best Regards,
Arun