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.
Monaca Debugger Showing Unrendered HTML (Android)
How to send notification to android phone
Translate screen position to image pixel coordinate with android
ViewPager in scrollable Layout
How to convert string into unicode in android
App crash on view change
Android: Tabbed App with Navigation Stacks
What is ScrimInsetsFrameLayout?
Android: Add TextViews in Horizontal ScrollView and Check which texview is in Center?
How to make different menu options in different Fragment?
How to override CheckBox color using AppCompat
Recieving values from arduino board , facing problems
How do you set up your AndroidManifest for GCM when having multiple build types?
How to respond to 'attach' from Gmail? Responding to intent with attachment
Android - Retain objects in UI Fragment
Disable Toolbar's Up Button