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. custom protocol handler...

i want to do the following thing -

when a user navigates to a web page, I want to have a link in there
that looks like this:

    <p><a href="myprotocol://blah=42">Click here for fun.</a></p>

Then when the user clicks on that from the phone browser, I want it to
launch my intent with that full url.

In my AndroidManifest.xml file, I have the following info:

    <activity android:name="com.test.MyActivity" style="@style/
MyStyle">
                <!-- custom protocol association -->
                <intent-filter>
                    <action
android:name="android.intent.action.VIEW"></action>
                    <category
android:name="android.intent.category.DEFAULT"></category>
                    <category
android:name="android.intent.category.BROWSABLE"></category>
                    <data android:scheme="myprotocol"/>
                </intent-filter>
    </activity>

When I try this, when I click on the link on the web page from the
phone browser, it says --

Web page not available
The Web page at myprotocol://blah=42 might be temporarily down or it
may have moved permanently to a new web address.

Any help here would be appreciated.

tia.

-- 

2. Android's dependency on Google Sync

This is a branch off an existing thread where I asked:

Why is it necessary to sign into Google Sync to access the Market for
free non-protected apps?

and the response was:




Thanks, that explains why Google Sync is required to install an app.
But what about to browse the Market?

As a developer without Google Sync access, it would still be
incredibly useful to at least read comments on my apps in the Market.

Also, do you know how it works with Google Maps? I don't have any
problems using that - i.e. there appears to be no Google Sync
dependency.

-- 

3. why is my app asking to access phone calls and storage?

4. Detect/intercept screen turning off

5. Intent to display SMS

6. Promote Your Apps

7. How can I install android sdk on windows 7 x64?