How to tell if a package is burned in versus updateable?

by DulcetTone » Thu, 06 Jan 2011 11:07:23 GMT


Sponsored Links
 Is there no means by which you can tell whether a package installed on
the phone is burned in with the firmware (and hence immutable) versus
one that can be updated?

On a similar line, why does Google ever put apps on the Market with
the same signature by which they are burned into some phones?  It
stunts updating terribly.  Indeed, why burn any apps on the phone as
opposed to make them super-easy to find in a dynamic manner?

tone


-- 



Re: How to tell if a package is burned in versus updateable?

by Dianne Hackborn » Thu, 06 Jan 2011 11:19:26 GMT


 



ApplicationInfo.FLAG_SYSTEM.

This doesn't really mean it is immutable; you can install an update to it if
it is signed with the same cert (though the update is placed on the data
partition like other third party apps, since /system is read only).



Huh?  You can update built-in apps, as per above.  This is how maps updates
have been delivered for a long time, as well as Market updates (which you
aren't generally aware of), more recently Gmail updates, etc.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

-- 


Sponsored Links


Re: How to tell if a package is burned in versus updateable?

by DulcetTone » Thu, 20 Jan 2011 00:29:01 GMT


 




Ok... is this update then read and used instead of the original /
system copy?  I assume so.


This is not the case with my phones.  I suppose this must be a
consequence of the fact that their firmware was written to from a burn
station in Google's own offices here in Cambridge.   I cannot, for
instance, update Google Maps -- it downloads the update and fails to
install every time.

I assumed the issue extended to other users' phones.

tone

-- 



Re: Re: How to tell if a package is burned in versus updateable?

by Dianne Hackborn » Thu, 20 Jan 2011 03:32:09 GMT


 



Yes, it hides the .apk that is still in the system image.  If you
"uninstall" it, you revert to the built-in system version.


This is not the case with my phones.  I suppose this must be a

If you are getting builds from internally at Google, you should probably not
be talking about them on a public forum.  Just sayin'. :)



No, production devices have .apks signed with final certs.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

-- 



Other Threads

1. how to stop screen from dimming

In my game because it is a board game, I do not want the screen to
timout which the user is playing my game. Any idea on how to do this?

-- 

2. Problem in consuming/calling ASP.NET web service from the Android

Hello Everyone,

I am trying to develop an application which calls the asp.net web
service from android. I tried a lot but i got an exception while
calling the SOAP_ACTION. I have tried with the localhost, local IP
Address and also i have taken URL from the internet but it throws an
exception. Here it is:

Exception:

SoapFault - faultcode: 'soap:Client' faultstring: 'Server did not
recognize the value of HTTP HeaderSOAPAction :
http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit.'
faultactor: 'null' detail : org.kxml2.kdom.n...@43c582e8

Here is my source code:

-- 

3. Problem listener onItemClick with ListView

4. DatePicker: years before 2000

5. How to add 3rd party library

6. Problem for porting g-sensor driver

7. Sorry,can't play this video