[Android framework protected API] Permission protection level definitio

by Guillaume Leterrier » Mon, 16 Mar 2009 20:22:31 GMT


Sponsored Links
 Hi,

 

Looking at the following developer web link that describes the core
android permissions,

 

 http://developer.android.com/reference/android/Manifest.permission.html 
< http://developer.android.com/reference/android/Manifest.permission.html 

 

The list encompasses the permissions associated to the android protected
API available from the Android frameworks.

 

However, I could not find any information related to the associated
protection level.

I guess this would be very useful to know for the application developers
and get the web link updated.

 

So, digging in the file "Frameworks\base\core\res\AndroidManifest.xml",
one could find such data.

 

Most of the permissions are defined as dangerous and few others as
normal.

The remaining others, related mostly to the system, are based on
signature protection.

 

Questions:

 

1)

 

Because the signature protection levels for the framework are defined in
a unique manifest XML file, 

 

- does it mean that there is no means to have different permissions
protected by different signature keys (but splitting the file and
framework API in groups)?

 

2)

The android framework is stored under the file directory
\system\framework\

 

- Is this directory considered as one Android package signed by the
current android system unique key?

- For permissions protected by signature or signatureOrSystem, what key
is used for such protection verification? OEM/system key ?

 

3)

 

- if the OEMs are modifying few framework permission signature rules (
dangerous => signature... ), how the applications compatibility will be
ensured on the Android platform accross various OEM smartphones ?

 

 

Guillaume



Other Threads

1. SoftKeyboard Example Problem

Hello.

I'm trying to understand how SoftKeyboard example from sdk 1.5 works.
I made apk and installed it on emulator 1.5. I see only default
keyboard (Android Keyboard). Please, give me some information (url?)
to read more about custom softkeyboards.

Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. How to run test_pvauthorengine?

Hi All,

   I can not find any document describe the parameters of this
test_pvauthorengine. Here, I just want to run a basic test, which
input file is video yuv file, and output is a 3gp file. Below is my
command line which I assume from the source code of
test_pvauthorengine. But failed to run. If you have any idea how to
run it, please let me know. Thanks in advance.

test_pvauthorengine -test 203 203 -video /sdcard/yuv/akiyo.qcif.yuv -
output /sdcard/yuv/akiyo.qcif.3gp -videoconfigfile
qcif_15fps_iframe15.cfg -encV 2

Best Regards
Guoyin Chen
--~--~---------~--~----~------------~-------~--~----~

3. Cell Broadcast support on Android?

4. 绛斿: ALSA proble

5. How to make games faster? Using view and redraw is way to slow it seems.

6. Applications not visible on Magic in Germany

7. Module version conflicts between wlan module and Android kernel source