installation - How can I auto install apk on android without market NOT system app -


i apk in server.

and try

file apkfile = new file("/sdcard/download/openapk.apk"); uri apkuri = uri.fromfile(apkfile); intent webintent = new intent(intent.action_view); webintent.setdataandtype(uri.fromfile(apkfile), "application/vnd.android.package-archive"); webintent.setflags(intent.flag_activity_new_task); startactivity(webintent); 

this code. after showing under picture. code when click install button. start install. want auto install .and apk execution

perhaps possible auto install after apk execution. ?

enter image description here

nope, not possible , pretty because if possible, mean app install on device without asking user...

android more insecure.


Comments

Popular posts from this blog

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -