apk - Android - cache installation problem -


i wondering if it's possible delete file, has been downloaded url connetion autoupdate right after installation? *.apk should not available public, deleting sd card when app starts next time, there other (better) way of dealing right after installation?

thanks

edit: instalation of apk

    menu.mprogressdialog.dismiss();     intent install=new intent(intent.action_view);     install.setdataandtype(uri.fromfile(new file(ctx.getcachedir()+"/app.apk")), "application/vnd.android.package-archive");     ctx.startactivity(install); 

try saving @ context.getcachedir(). it's not visible other apps (or non-root users).

be sure delete possible (next time user starts app, or listen package_installed broadcast) avoid filling user's phone's internal memory!

good luck
tom


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -