Tuesday, November 29, 2011

Re: [android-developers] Update notification when user launches app

On Tue, Nov 29, 2011 at 10:08 AM, Bipin Shashi <bipin@lokalty.com> wrote:
> I have seen in many apps that it notifies the user of new updates if
> any when they launch the app. Can someone please guide me as to how to
> achieve this. I guess we need to add code to the onCreate method which
> checks the version number on the android market.

I'd fork an AsyncTask from onCreate() that downloads version
information from a site that I control.

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

_Android Programming Tutorials_ Version 4.1 Available!

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