You can't actually know what features you don't use, so it would be broken
to assume that you use a feature when you don't explicitly say so.

The only exception is that for compatibility some features are assumed based
on permissions -- for example if you use the camera permission and don't say
anything about the camera auto-focus feature, it is assumed you require
auto-focus.  At any rate, you will see this in the output of "aapt dump
badging".

On Fri, Nov 19, 2010 at 7:00 AM, ses <[email protected]> wrote:

> > You can test all that with aapt:
> >
> > http://developer.android.com/intl/fr/guide/topics/manifest/uses-featu...
> > "You can use the aapt tool, included in the Android SDK, to determine how
> > Android Market will filter your application, based on its declared
> features and
> > permissions. To do so, run aapt with the dump badging command. This
> causes aapt
> > to parse your application's manifest and apply the same rules as used by
> Android
> > Market to determine the features that your application requires."
> >
> > --
> >   Olivier
>
> Thanks that works... for anyone interested the command is simply:
>
> aapt dump badging your_apk_here.apk
>
> It seems for most apps that don't use hardware and don't have uses-
> feature in the AndroidManifest only uses-
> feature:android.hardware.touchscreen is included. I presume this means
> the answer to my question is that no, Android Market doesn't filter
> out apps that don't declare their lack of feature usage by default.
>
> --
> 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