I am trying to automatically installl an apk in Android 2.2 .

When using an ACTION_VIEW intent on a URI pointing at an .apk the
browser will download the
apk but will silently let it sit in the notifications bar with no user
message to say the download has finished.

In Android 2.1, it actually brings the download status view to
fullscreen so this is not an issue, but in 2.2 it does it all in the
background so the user knows nothing if they do not check their
notifications bar

ACTION_INSTALL_PACKAGE does not help, giving a message that the
application does not have any acttivties registered for this intent

and the same error if I use ACTION_VIEW setting the
type( Intent.setType()) to be the apk mime type.

Does anyone have any ideas of how to download and automatically
initiate install in Android 2.2 (still asking the user if they wish to
install, but just not requiring them to select the apk file to
initiate install)

Regards,
Steve

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to