Yes, and I am saying this is the normal expected behavior for apps that are
not explicitly targeting API 4 or later.

On Sat, Nov 28, 2009 at 10:35 AM, Max Binshtok <[email protected]>wrote:

> Diane, it seems to me that you did not understand the problem.
>
> I (and I believe other people) do NOT ask for those permissions in the
> manifest since I do not need them. But when the application is to be
> installed they show up (it says that the app is asking for those
> permissions). Please read the very first post. It says that "Hello
> World" application when to be installed is asking for those
> permissions although they are not present in manifest.
>
>
> Regards,
> Max.
>
> On Nov 26, 1:46 am, Dianne Hackborn <[email protected]> wrote:
> > These are new permissions added to 1.6.  If an application is targeting
> > anything below API 4 (1.6), they will automatically be requested because
> in
> > 1.5 and lower there was no restriction on these operations.  As of 1.6
> these
> > permissions were added, and if you target API 4 or later you need to
> > explicitly request the permission in your manifest to be granted it.
> >
> > On Wed, Nov 25, 2009 at 10:17 PM, Max Binshtok <[email protected]
> >wrote:
> >
> >
> >
> > > I am having the same problem and I just want to confirm:
> >
> > > You are saying that when you try to install over the air (just by
> > > downloading APK file) you get asked those permissions, but when your
> > > application is installed through the Android Market - you are NOT
> > > asked for PHONE_STATE and STORAGE? Is that correct?
> >
> > > From my side I can add that I had targetSDK=4 and when installing from
> > > APK over the air those permissions come up... (I have been banging my
> > > head on the walls for quite some time now). On 1.5 they don't come up!
> > > Not on the emulator and not on the device.
> >
> > > Regards,
> > > Max.
> >
> > > On Oct 8, 1:13 pm, Jarcikon <[email protected]> wrote:
> > > > Sorry about the double post.  I realized that because I was
> installing
> > > > the app directly from the .apk file instead of the market, the Phone
> > > > Calls and Storagepermissionsalways come up.  When it is put on the
> > > > Market, they are gone.  Don't think this was intended, but setting
> > > > targetSdkVersion does fix it.
> >
> > > > Mike
> >
> > > > On Oct 5, 3:36 pm, Jarcikon <[email protected]> wrote:
> >
> > > > > Chris,
> >
> > > > > I am having the same problem. This is due to the update to Donut
> (1.6
> > > > > SDK).  According to the docs, if you set targetSdkVersion in your
> > > > > manifest file to "4" thesepermissionsshould not appear unless
> > > > > specifically requested.  However, I have tried this and it is not
> > > > > working for me.
> >
> > > > > Does anyone have a solution?
> >
> > > > > Mike
> >
> > > > > On Sep 18, 8:54 am, ch13fw <[email protected]> wrote:
> >
> > > > > > I am working on a widget and have it pretty much how I like it,
> but I
> > > > > > have one problem.  When I package it and install it, it says in
> the
> > > > > > "allow this application to" portion that it wants access
> > > tophonecallsandstorage.  I know this will be a no-go if I want anyone
> to
> > > > > > ever use it.
> >
> > > > > > I have not set up anypermissions.  Same thing happens even if I
> make
> > > > > > Hello World.
> >
> > > > > > Sorry if this has been ask before, but I have searched quite a
> bit
> > > > > > looking for an answer.
> >
> > > > > > Chris
> >
> > > --
> > > 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]>
> <android-developers%[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]<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

Reply via email to