Android APK Distribution Without “Unknown Sources” Checkbox?

落花浮王杯 提交于 2019-12-10 19:49:31

问题


We are trying to distribute our Android App outside of Google Play. Is there any way to do this without forcing the user to go through the Settings App and checking the "Allow Unknown Sources" checkbox?


回答1:


Is there any way to do this without forcing the user to go through the Settings App and checking the "Allow Unknown Sources" checkbox?

If they have the Android SDK installed, they can install your app via USB cable.

Otherwise, they have to check that checkbox.




回答2:


In addition to CommonsWare's comment, there is one other way to install. If you can get the manufacturer to sign your app, or if you can somehow get them to install your app from one of their apps, then you can use the following permission:

android.permission.INSTALL_PACKAGES

Android does not provide this to 3rd party apps, however, so the above two are really your only options.



来源:https://stackoverflow.com/questions/15531245/android-apk-distribution-without-unknown-sources-checkbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!