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

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

Categories

HOME
google-app-engine
microsoftgraph
gdb
cheerio
merge
numbers
toolbox
appcelerator
bitbucket-api
yandex
computer-science
little-proxy
spring-social
intercom
git-extensions
bourbon
event-store
google-api-client
data.stackexchange.com
itunes
pic32
opentk
nstimer
firebase-analytics
openmdao
cppreference
nsurl
calculation
send
kudu
mockjax
catch-unit-test
autolisp
biztalk-rule-engine
css-position
clang++
rfc3339
phpdbg
globalize
remedy
qtranslate
appdomain
skin
janus
pybrain
django-1.10
filenet
polyline
vcloud-director-rest-api
materialized-path-pattern
atlas
pacemaker
lrs
adafruit
drawstring
wso2developerstudio
jtwig
query-by-example
createprocess
beanstalk
linklabel
decimalformat
iokit
avisynth
computer-architecture
pypiserver
dock
toolkit
uncompress
ocra
skspritenode
apache-commons-daemon
alloy-ui
zxspectrum
mobility
cancellation
jquery-slider
dct
buffering
paste
extjs2
mt4j
cmmi
jquery-1.9
diem
windows-98
fitbounds
workflow-services
promotion-code
google-ajax-api
webdev.webserver
uipagecontrol
ruby-1.8
object-database
lalr
alsb
cardspace

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