Thursday, March 15, 2012

Re: [android-developers] Followup questions about detecting install / first launch

On Thu, Mar 15, 2012 at 1:46 PM, Ted Scott <ted@hootinholler.com> wrote:
> Ok, I understand that ACTION_PACKAGE_INSTALL wasn't implemented. There is no
> broadcast to the app when its package is installed. Doesn't the installer
> from Market^H^H^H^H^H^H Play start the app as the default?

I don't know what you mean by "start the app as the default". When a
user installs an app from Play, if they left the Play app open, the
"Install" button turns into an "Open" button that, when clicked,
launches the app. If the user did not leave the Play app open, and
they tap on the "installed!" notification, that launches the app. The
app does not automatically launch without user intervention.

> API 12 gave us ACTION_PACKAGE_FIRST_LAUNCH and ACTION_MY_PACKAGE_REPLACED.

Yes, and they will certainly be helpful for these scenarios, once
there's more than a few percent of devices running API Level 12+. :-)

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate