Hi Marcin,

Seems I miss something in your concept, but if I understood it right.
when your app is updated, the fresh one is NOT launched ,  but this
was the orginal
question ?!

Frank

On 18 Jan., 09:51, Marcin Orlowski <[email protected]> wrote:
> On 18 January 2011 09:16, xeagle <[email protected]> wrote:
>
> > Can current version of Android allow an app to be told when it is
> > updated?
>
> Even if it would, older versions wouldn't so it'd better to cope with
> this yourself, which is quite trivial. When app is updated all user
> settings and data is preserved, so you can store versionCode in app's
> preferences and on each launch compare stored value with package
> versionCode. If package's is higher is higher, then you are updated.
> Update stored versionCode and repeat this each time. This is even
> better as you can detect downgrade as well and i.e. reject app launch.

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

Reply via email to