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. ?
nope, not possible , pretty because if possible, mean app install on device without asking user...
android more insecure.
Comments
Post a Comment