I think you didn't understand Dianne's answer.

Prior to 1.6, those operations did not require a permission; all apps could
get that information.  In 1.6 and later, those operations require the
appropriate permissions to work.

An app targeting 1.6 or later will have an appropriate manifest; if they
need the permissions they will ask for them.  An app targeting 1.5 did not
NEED to ask for them; if you just restrict them, those apps will break.  For
1.5 things to work reliably on 1.6 or later, you have to assume any "I was
written for 1.5" program might need those permissions.  If you assume they
do, you ask for a potentially unnecessary permission, but things won't
break.  If you assume they don't, you don't ask for unnecessary permissions,
but anything that DID need them will break.  The former situation is better
for both developers (who can target 1.5 without having things break on 1.6
or 2.0) and users (who don't download a 1.5 app on 1.6 and go "this doesn't
work!").

(That said, maybe it would've been better if the install screen
distinguished between "permissions the app requires" and "permissions that
might be needed to support an older app," or something.  Though that would
be difficult to make intuitive.)

On Nov 28, 2009 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 ...
> 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 yo...
> > [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...
> [email protected]

> > Note: please don't send private questions to me, as I don't have time to
> provide private suppo...

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