On Friday, March 2, 2012 8:24:33 PM UTC-5, Josh Brown wrote:
>
> There's the 
> ACTION_PACKAGE_ADDED<http://developer.android.com/intl/de/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED>
>  broadcast 
> you could use to see when it's installed.  I don't think there's one for if 
> it was declined, but you could use some trickery in your onResume().  The 
> only problem is if they hit the home button when the installer is showing 
> and then somehow navigate back to your app in such a way that they can 
> still get back to the installer.


Can't you just ask the package manager if it's (already) installed ?  If 
not you fire off another view intent to begin a new installation attempt. 
 You can't force the user to agree, but then your app doesn't have to go 
beyond that point if they don't.

-- 
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