android


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.

Related Links

CardView goes on top of FrameLayout, but declared first
DateFormat.getDateTimeInstance uses wrong local time format with android 5
cmd: Command failed with exit code 2
Almost a day after publishing app to production
Telegram API : change Telegram Messenger Group user limits
ImageView in SurfaceView without XML
MediaPlayer doesn't resume video after activity restart
Compress video FFMPEG doesn't work
CollapsingToolbarLayout and imageview inside it do not collapse
Add appcompat v7-22 to Android studio project
Android Storage Access Framework delete directory
How to get user email and birthday from Facebook API Version v2.4
Click events on ListView custom item Android
How to move marker when lat long changes in Google map android?
ClassNotFoundException on subsequent builds after converting MainActivity to Kotlin
Animation on the start delayed Android

Categories

HOME
algorithm
grok
fabricjs
hyperlink
codenvy
apache-spark-mllib
bitbucket-api
nsbundle
dojo
nested-if
babeljs
trac
performancepoint
minecraft-forge
ibeacon-android
enthought
siddhi
shared-libraries
dynatrace
mvc-mini-profiler
nodemcu
cgbitmapcontext
roslyn
jquery-callback
gmock
google-cloud-print
beautifier
fragment-backstack
testcomplete
anki
wacom
activexobject
nested-lists
slacktextviewcontroller
xv6
android-softkeyboard
lpsolve
vaadin-charts
httrack
xbmc
wcftestclient
datamaps
qtranslate
edit
avx
check-mk
trigger.io
cmp
clipboard.js
lua-telegram-bot
upx
mobiledoc-kit
jnlua
rewrite
zen-cart
batik
mod-proxy
uncompress
wso2greg
mirror
teamcity-9.1
ms-access-2000
adehabitathr
variadic-templates
filesplitting
pseudo-class
metatrader5
appserver
verold
gnumeric
authlogic
solace-mq
scrypt
ice-cube
abstract-data-type
composite-component
pagedown
stacky
web-notifications
idn
intersect
tree-balancing
boost-signals
fusefabric
database-create
oracle-enterprise-linux
floating-point-exceptions
apache-commons-dbutils
saxparseexception
htdocs
u2netdk
cuteeditor
maven-1
pos-for-.net
interop-domino
application-planning
soappy
pnrp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App