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

How to move a file from menu folder to values folder by onclicking button in Android
add indeterminate horizontal progress to Action Bar
Removing muliple items from listview using Check box in Android
Notify when download finish dropbox Core API
Fetching the image from aws s3 with signed url
AutoCompleteTextView's item not clickable inside HorizontalScrollView?
Namespace is not Bound in Android Studio
Android XML different margin on long screen
To Show Push Notification content into the Alert Dialog when application is either running or not in android
How to use gradle-android-test-plugin
illegal state exception on clicking a button
Emulator is not displayed during Android Hudson build
Android activity popup on lockscreen
Create new Fragment from a Fragment which is part of ViewPager
Pulling image from parse.com and showing on android
Android Emulator Wont Show my App, only the lock screen

Categories

HOME
google-cloud-platform
spark-streaming
apache-jena
twig
sh
sitecore
can
opendj
tail
jax-ws
opengl-3
modal-dialog
mql5
owin
github-enterprise
pega
supervisor
gource
plink
linear-algebra
microsoft-dynamics-nav
red5
vuejs
delphi-xe5
event-store
stackexchange
licensing
progress-bar
genexus-sd
nsurl
scrollview
cart
magento-1.9.2.4
apic
mongoose-schema
preloader
sharp-snmp
berkeley-db-je
apache-directory
lightning
amq
tinkerpop
filehandle
gpg-signature
cronexpression
angular2-testing
pytables
pacemaker
myspace
android-wake-lock
freepbx
bizagi
gcloud-ruby
libav
toast
user-management
ascii-art
opl
fiware-monitoring
computer-architecture
poppler
canalyzer
rpart
linked-tables
teamcity-9.1
uvc
cakephp-2.7
delayed-execution
theos
viewer
ghcjs
xml-namespaces
ora-00904
codeplex
cfcache
sbcl
syndicationfeed
ebay-lms
insert-id
midlet
relative
matlab-load
umra
appledoc
collectionviewsource
resharper-6.0
dot-emacs
build-environment
escrow
xpsdocument
information-management

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