Indeed, this is how my uses-sdk clause looks like: <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
Yet, the user is queried about the READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE permissions anyway (when downloading from a direct link in the browser). The "project target" (set by the android tool when updating the project) is "android-4". Is there a difference in behaviour between downloading from the Market and the browser? Best regards, Viktor Linder On 22 Juni, 05:49, Dianne Hackborn <[email protected]> wrote: > As usual, when new features are added or changes made, targeting the > platform version (or better) where that was done will turn off any > compatibility code in the platform for older apps. So if you use > android:targetSdkVersion="4", the platform knows that your app was written > after these permissions were added, so they don't need to be automatically > added for compatibility. > > See:http://developer.android.com/reference/android/os/Build.VERSION_CODES... > > > > On Mon, Jun 21, 2010 at 3:56 PM, joebowbeer <[email protected]> wrote: > > Good coverage at: > > >http://stackoverflow.com/questions/1747178/android-permissions-phone-... > > > Apps targeting 1.5 will always request these permissions implicitly. > > > But what about apps *targeting* 1.6 whose minSdkVersion includes 1.5? > > > <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4" /> > > > On Jun 21, 1:27 am, Viktor Linder <[email protected]> wrote: > > > My app does not require the READ_PHONE_STATE and > > > WRITE_EXTERNAL_STORAGE permissions (there's no clause about this in > > > the manifest), but it seems they are implicitly added by the SDK when > > > minSdkVersion is set to 3. > > > > Will the user on a 1.6 or higher phone be queried about these > > > permissions when downloading my app from the market, or is it only > > > when downloading it through the browser? > > > > This is a bit of a catch 22 - I support 1.5 and I want to reach this > > > userbase, yet I do not want to scare potential users by requiring > > > these extra permissions (which my app doesn't require; it doesn't > > > write to the sd card nor use the phone function). > > > > Anyone in this group have experience dealing with this issue? > > > > All answers appreciated! > > > > Best regards, > > > Viktor Linder > > > -- > > 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]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > 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

