0

Installing a simple HelloWorld asks for permission to write to external storage, why? I have not added any request in my manifest? Looking in the logs I see "I/PackageParser(15463): Implicit adding android.permission.WRITE_EXTERNAL_STORAGE to old pkg". I am compiling for Android 1.6 and installing on an Sony Ericsson X10. How do I avoid the request since my HelloWorld does not need any of those permissions and any user might be scared away due to shady permissions?

Jonas
  • 1

1 Answers1

0

Installing a simple HelloWorld asks for permission to write to external storage, why?

Because either you do not have a <uses-sdk> element in your manifest or its android:minSdkVersion is set to 3 or lower. See this previous SO question for more.

Community
  • 1
  • 1
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • 1
    Thanks, but neither of them helps. I did have minSdkVersion set to 3 but changing it to 4 does not help. (I have verified that I got the new apk after installing). – Jonas Aug 29 '10 at 17:59
  • Also, this seems to be X10 specific. Installing the same apk-file on the other android device I got, do not require those permissions. – Jonas Aug 29 '10 at 18:01