• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Disable app installation

Depends on the scenario. I'm assuming that this is an ordinary, unrooted device.

You can disable apk installation by either turning off the option to install from unknown sources in settings (older versions of Android) or not granting any app the permission to do this (newer versions of Android). But then if the user tries they will be told how to enable it. So that will protect against say a malicious ad tricking your browser into installing something (I personally think that granting a web browser the permission to install apps is an act of naivete bordering on idiocy), but won't stop the phone's user downloading an apk and then installing it.

If you want to stop the user from doing this, you need to also lock the Settings so that they can't grant this access (there are apps that can require a password to enter the Settings, though I've never used one). That obviously stops them from doing other things as well.
I have Jpay tablet that's has a UC browser, and messenger, and talku app on it and they all work just fine. But I didn't put the apps on their. The guy that put the apps on their is gone and I have not been able to install apps on the tablet. Every time I try to install apps it says for security reason your tablet is set not to in stall from unknown sources. How can I install app . It's a prison Jpay 5 Tablet.
 
I think you are asking in the wrong thread: this discussion is about making installs impossible on a regular device, not enabling them on one of those Jpay things. Unfortunately the problem with Jpay devices is very specific to their operating system, so what's discussed in this thread won't help with your problem.
 
While the jp5s is based on Android 4.2.2 it doesn't function the way a normal Android does because of the modification that jpay had done. It's not designed to install apk files.
 
Back
Top Bottom