As of 1.6 (and possibly 1.5) you can definitely update through the market.
 As long as your updated app is signed with the same cert, when it is
installed the system will put the new one in /data and ignore the old one in
/system.

Be sure you set your version code (versionName is ignored) so that the newer
one in market has a higher number; the system also takes care of things like
checking if the one in /system has a version code >= the one in /data and
deleting the one in /data during boot if that is the case.  This allows an
OTA update to deliver a newer version of the app and correctly handle things
if a market update had been installed.

On Thu, Dec 17, 2009 at 5:01 PM, John Seghers <[email protected]> wrote:

> I had assumed that if an application was preloaded it could not be
> updated via the marketplace. My reasoning being:
> 1) A preloaded application is part of the OEM's ROM image.
> 2) The APK for the app would therefore be on the /system partition and
> thus be read-only
> 3) Therefore the only way to update such an application would be via a
> full update--which would only happen on maintenance releases or OS
> upgrades.
>
> We are building an app that will be preloaded. In our initial
> discussions with the OEM, they have also indicated that it would not
> be upgradable outside of #3 above.
>
> However, I just had Google Maps present an update through the Android
> Market.  This seems to violate the above assumptions in one or more
> ways.
>
> How does one preload an application and yet still allow it to be
> upgraded via the Android Market?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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