Are you using android:targetSdkVersion="4"?  The namespace prefix is
important.  As long as your manifest has a <uses-sdk
android:targetSdkVersion="4"/> under the manifest tag, you won't be forced
to have the permissions.

On Thu, Oct 1, 2009 at 10:52 AM, Peter <[email protected]> wrote:

>
> I'm having trouble getting rid of the permission warning for the new
> WRITE_EXTERNAL_STORAGE permission.  Here are the instructions from the
> release notes:
>
> WRITE_EXTERNAL_STORAGE: Allows an application to write to external
> storage. Applications using API Level 3 and lower will be implicitly
> granted this permission (and this will be visible to the user);
> Applications using API Level 4 or higher must explicitly request this
> permission.
>
> I tried setting the following parameters:
>
>    * target=android-4 in default.properties
>    * targetSdkVersion="4" in AndroidManifest.xml
>    * minSdkVersion="4" in AndroidManifest.xml
>
> ...but the permission prompt would not disappear, even though I do not
> have the WRITE_EXTERNAL_STORAGE permission listed in my manifest.
>
> Has anyone managed to get this working?  If so, what steps did you
> take?
>
> Thanks,
>   Peter
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

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