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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

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