How to provide System Priviliges to Android App
I am working on a google-glass project, where i have to install/update an app programmatically, in my Research i have following complication: Getting System Dialog actions, to perform click programmatically In order to install programmatically, the intent leads to System Dialog for user permission, but its not possible to stimulate the action of System Dialog programmatically. This solution is no possible link Using EMM Solution (WSO2 IOT) I used WSO2-IOT, but since there is no device policy manager available for google-glass, so even installing the agent apk wont help, as i can not avail any service provided by the EMM (WSO2 IOT), (to install or update my app) Getting System Privileges without Root In order to use the following permissions: <uses-permission android:name="android.permission.INSTALL_PACKAGES"/><uses-permission android:name="android.permission.DELETE_PACKAGES"/> My app would require System Privileges, to silently install/delete/update the app. According to my knowledge and research so far the only current solution is the third solution, that is to get the System Privileges. In order to get it, i also tried Sigined the APK with the system certificate. Still i get the error:java.lang.SecurityException: Neither user 10056 nor current process has android.permission.INSTALL_PACKAGES. Also i have tried adding the android:sharedUserId="android.uid.system to the manifest as described here So far there is no success with achieving it. I would like to know how can i achieve installing an app silently in the background, with out rooting the device. Any suggetions that will help will highly be appretiated. Thank you.
Applock and android:noHistory=“true” conflicts
Can I connect more than two Computer to my single android device via adb (TCP/IP)?
Put all ongoing requests to queue retrofit and okhttp
Which API decides if the call is going through VoLTE or VoWiFi in Android?
WebVtt subtitles not displaying( not working)
Gallery Not Showing Content
Your APK's version code needs to be higher than xxx phonegap
Everyplay not working in android vesion 5.1
GoogleApi Real Time Multiplayer pushing updates
How to pass value from onItemSelected to another spinner
OnItemClickListener for horizontal gridview
Saving canvas draw in bitmap showing white screen
How to cut off an unused space in a custom view?
How to create alerts using alarm manager and background service call and a web service call inside background service?
ActionBar menu with text ,icon,text
Firebase endAt() not working with date string?