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

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -