No, you don't change uses-permission to uses-feature, you use both.
uses-permission is required to access bluetooth, or you'll get an error.
When you use uses-permission, it's assumed the feature is also required.
Then you use the tag uses-feature and set the attribute required to false.
So you have permission to use the feature if it's present, but you're also
stating your app can function without it.



--
Douglas Drumond
http://drumond19.com


2013/4/15 limtc <[email protected]>

> Thanks for the help! I have read through this twice and still very
> confused - why do we have both uses-permission and uses-feature? So I
> changed from uses-permission to uses-feature and it will work? But why?
>
> My free game has been downloaded couple of million times so I am very
> scared of causing issues for existing users.
>
> 在 2013年4月15日星期一UTC+8上午11时52分09秒,RichardC写道:
>>
>> See <uses-feature>
>>
>> http://developer.android.com/**guide/topics/manifest/uses-**
>> feature-element.html<http://developer.android.com/guide/topics/manifest/uses-feature-element.html>
>>
>>>
>>>  --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to