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

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?

Categories

HOME
sonarqube
notepad++
gridview
github-for-windows
jsf-2.2
error-handling
cakephp-3.4
hpc
mapbox
character
barcode
joomla3.0
little-proxy
emoji
linear-algebra
alpacajs
easyphp
forgot-password
symfony-console
mapstruct
replication
googlebot
guzzle
cgbitmapcontext
beautifier
fable-f#
recurring-events
scatter3d
python-2.6
git-squash
android-maps-extensions
vue-chartjs
reverse
xajax
engine.io
python-pptx
lint
xdocreport
ods
railstutorial.org
demo
skylink
branching-and-merging
escpos
file-sharing
double-click
httrack
jquery-ui-draggable
dotnet-httpclient
reportservice2010
google-cse
remedy
corruption
context-switch
java-6
er-diagram
libjpeg
py2neo
omxplayer
reporting-services-2012
async.js
burrows-wheeler-transform
firebase-security
cfchart
ikiwiki
beanstalk
findfirst
maybe
typemock
alloy-ui
ms-access-2000
kubuntu
rrule
winginx
alternate
dot42
qscrollarea
mt4j
jammer
scringo
node-blade
css-reset
onload-event
pdfviewer
procedures
u2netdk
listactivity
entitydatasource
umra
cuteeditor
http-daemon
django-paypal
collectionviewsource
cac
diagrams
request-headers
visualj#
sun
windows-identity
sifr3
flvplayback

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