Thanks Dianne, I will have a try!

On Aug 25, 12:09 pm, Dianne Hackborn <hack...@android.com> wrote:
> Permissions don't prevent your app from being available.  Required features
> may be inferred from permissions you request.  If you don't actually require
> the feature, then explicitly request the feature with <uses-feature> setting
> the attribute android:required="false".
>
> You can always see the features your app is requesting with "aapt dump
> badging <path-to-apk>".  Be sure to use the most recent aapt; that is the
> one Market uses to analyze your app when it is uploaded.
>
>
>
>
>
>
>
>
>
> On Wed, Aug 24, 2011 at 8:40 PM, Alex Xin <xinxi...@gmail.com> wrote:
> > Hello experts,
>
> > I have a app that could use NFC as one of the communication methods.
> > Bu that is optionally, users still could use other alternative ways to
> > communicate. To use NFC my app needs to add permission
> > "android.permission.NFC" on my manifest.xml file. But if I do this I
> > believe that users who doesnt has a NFC-enabled phones cannot access
> > my app on the market because market has a filter mechanism to prevent
> > those devices to see the apps.
>
> > So I need a solution that will allows users to see my apps, but my
> > apps also need NFC permission. I want to know:
>
> > 1. Is there a way to add a permission dynamically at runtime?
> > 2. If there's no such a method to add a dynamic permission, is there a
> > way to declare a permission as "Optional Permission" so that users
> > still could see & download this app from market even if they dont have
> > a NFC hardware on their phone because NFC is just a optional
> > requirement?
>
> > Thanks,
>
> > Alex
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to