Also, please remember that this list is for the Android SDK. Questions
regarding the "<perms> block" and kin belong elsewhere -- visit
http://source.android.com, click on the Community tab, and you will
see other Google Groups of greater relevance to discussion of what is
happening in the firmware.

On Mon, Jun 18, 2012 at 12:44 PM, Mark Murphy <mmur...@commonsware.com> wrote:
> On Mon, Jun 18, 2012 at 12:35 PM, Jason Meyer <jasonmeyer...@yahoo.de> wrote:
>>> Well, sure, if they request it, just like any other SDK app.
>> I am not quite sure what you mean by "request it". As far as I know,
>> there is no "API request call" or method to grant a certain
>> permission.
>
> By <uses-permission> in the manifest, just like any other SDK app.
>
>>> I have no idea what the <perms> block is. That sounds like a firmware
>>> detail, which is out of scope for this list.
>> Nope, it's not a firmware detail. Every app which is installed via the
>> Market app (e.g., from the Google Play Store) is processed in the
>> three following steps:
>> 1) Download of the APK file
>> 2) Placing of APK file in /data/app/
>> 3) Insertion of the app's permissions in /data/system/packages.xml
>> inside a <perms>-block
>
> Steps 2 and 3 are firmware details, in my use of the term.
>
>>> Only if they ask for them, like any other SDK application.
>> What exactly do you mean by "asking"?
>
> By <uses-permission> in the manifest, just like any other SDK app.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.7 Available!



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training... At Your Office: http://commonsware.com/training

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

Reply via email to