Basically,

Determining statically a set of permissions an app will use is
impossible, it requires fairly heavyweight static analysis, which
necessarily makes some imprecision, thus a dynamic system is used.
Since it's not entirely feasible to do real coverage of apps using
dynamic analysis (or require that developers test their programs, and
integrate that into the build process), annotations are used instead.

So, there's not a way to look at an app and decide what permissions
are needed, instead you specify them.

kris

On Wed, May 23, 2012 at 8:49 AM, guich <[email protected]> wrote:
> Hi,
>
> So, the permission is written as-is and found only at runtime?
>
> I'm asking this because my applications are having problems accessing
> the sdcard of some tablets like Xoom and Galaxy. From this article:
>
> http://www.afternote.net/2012/03/sdcard-write-problem-fix-for-samsung.html
>
> , i added these two to my manifest:
>
>    <uses-permission
> android:name="android.permission.WRITE_MEDIA_STORAGE" />
>    <uses-permission
> android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
>
> and, even with these, i cannot write to the external storage. So, i
> made a test adding a leading a to a permission to find if android was
> understanding that permission.
>
> My minSdkVersion is 4
>
> Any clues on what could be wrong are greatly appreciated.
>
> guich
>
> --
> 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

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