[android-developers] Re: In-place upgrade of app, outside of Market

2009-06-09 Thread Streets Of Boston

As far as i know, upgrading just happens when you click a link (e-mail
attachment) that is a valid and signed APK file.

As long as your new APK has the same signature as your current APK,
all should go automatically and smoothly.

What i have not 'tested', is the case that you downloaded the app from
the Android Market originally and later upgraded using another source
(Handango, SlideMe). I don't know what would happen to the 'My
Downloads' section of the 'Market' app. But, this scenario is quite
unusual.

Or the other way around: Downloaded it first from an 3rd party source
and then trying to buy it from the Android Market... this is a more
likely scenario. I'm not sure if the user needs to uninstall first.


On Jun 8, 2:39 pm, Mark Murphy  wrote:
> I know that the Android Market detects and supports in-place upgrades of
> apps.
>
> I know that using developer tools, you can do in-place upgrades of apps.
>
> Suppose, though, that you are distributing your APK through other means,
> whether it be a third-party market (e.g., AndAppStore, SlideME), or just
> via your own Web site. How do you do in-place upgrades? Is it just a
> matter of downloading the new APK and telling Android to install it, or
> is there some other magic that is needed?
>
> Thanks!
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: In-place upgrade of app, outside of Market

2009-06-09 Thread Michael Elsdörfer

 > Or the other way around: Downloaded it first from an 3rd party source
 >  and then trying to buy it from the Android Market... this is a more
 > likely scenario. I'm not sure if the user needs to uninstall first.

No, Market seems to only care about package names. The app may appear as 
  not installed in the Market at first, but upon clicking "Install", 
you'll get the usual update prompt.

Michael

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



[android-developers] Re: In-place upgrade of app, outside of Market

2009-06-09 Thread Al Sutton

Mark,

The most recent version of the AndAppStore client will notify the user
of any available updates and when they select the notification about
the update they're taken to the download page where they can download
the update.

There is also, of course, in-app update solutions (such as veecheck)
which mean that users get told about updates by an app directly
instead of having to use the method of any particular app store.

As for installs, well, the APK install intent seems to be restricted
to system signed apps only, so we're limited to using the View intent
on the APK and handing everything over to Androids UI.

Al.

On Jun 8, 2:39 pm, Mark Murphy  wrote:
> I know that the Android Market detects and supports in-place upgrades of
> apps.
>
> I know that using developer tools, you can do in-place upgrades of apps.
>
> Suppose, though, that you are distributing your APK through other means,
> whether it be a third-party market (e.g., AndAppStore, SlideME), or just
> via your own Web site. How do you do in-place upgrades? Is it just a
> matter of downloading the new APK and telling Android to install it, or
> is there some other magic that is needed?
>
> Thanks!
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books.html

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