Min sdk of 7 is sufficient. Thanks all. https://github.com/mcandre/hello-android/blob/master/AndroidManifest.xml
On Fri, Dec 14, 2012 at 2:08 PM, Kristopher Micinski <[email protected] > wrote: > These were added early on..., I believe around 1.5? You can check, > but I'd just set my minSdk to be as low as possible, probably 2.2. > (So, 8.) > > In general, you will take the lowest feature set you need and set your > API level at that. If you're using ActionBar you might run into > problems, but there are generally compatability libraries for earlier > API levels (e.g., ActionBarSherlock...) > > kris > > On Fri, Dec 14, 2012 at 2:02 PM, Andrew Pennebaker > <[email protected]> wrote: > > What's the lowest SDK veraion that gets rid of these permissions? I'd > like > > to support Gingerbread without any extra permissions if possible. > > > > On Dec 14, 2012 1:56 PM, "Kristopher Micinski" <[email protected]> > > wrote: > >> > >> Just bump up your min SDK level up.. > >> > >> <uses-sdk android:minSdkVersion="integer" > >> android:targetSdkVersion="integer" > >> android:maxSdkVersion="integer" /> > >> > >> On Fri, Dec 14, 2012 at 1:50 PM, Andrew Pennebaker > >> <[email protected]> wrote: > >> > Thank you, that's a good explanation. How exactly should I edit > >> > AndroidManifest to remove these permissions? > >> > > >> > On Dec 14, 2012 1:28 PM, "Mark Murphy" <[email protected]> > wrote: > >> >> > >> >> On Fri, Dec 14, 2012 at 1:22 PM, Andrew Pennebaker > >> >> <[email protected]> wrote: > >> >> > The SDK docs say that by default, Android apps do not request any > >> >> > permissions. However, when I generated a Hello World app, it > requires > >> >> > three > >> >> > permissions: > >> >> > > >> >> > android.permission.READ_EXTERNAL_STORAGE > >> >> > android.permission.READ_PHONE_STATE > >> >> > android.permission.WRITE_EXTERNAL_STORAGE > >> >> > > >> >> > I have not asked for any of these. They do not appear in my > >> >> > AndroidManifest.xml, nor do they show up when I grep my project. > How > >> >> > are > >> >> > these silly permissions getting into my APK? > >> >> > >> >> Because you failed to put in a <uses-sdk> element, or you have your > >> >> android:minSdkVersion set very low, most likely. This is one of the > >> >> reasons why the Eclipse new-project wizard sets up a reasonable > >> >> default <uses-sdk> element. > >> >> > >> >> What you are seeing are permissions that were added after Android 1.0 > >> >> shipped and are "grandfathered in" for apps written to support > Android > >> >> 1.0. > >> >> > >> >> -- > >> >> Mark Murphy (a Commons Guy) > >> >> http://commonsware.com | http://github.com/commonsguy > >> >> http://commonsware.com/blog | http://twitter.com/commonsguy > >> >> > >> >> Aqui estão alguns sites onde você pode perguntar ou responder dúvidas > >> >> sobre desenvolvimento de aplicações para Android: > >> >> http://www.andglobe.com > >> >> > >> >> -- > >> >> 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 > >> > >> -- > >> 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 > > -- > 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 > -- Cheers, Andrew Pennebaker www.yellosoft.us -- 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

