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
Thanks!
So it is:
uses-permission android:name=android.permission.BLUETOOTH /
uses-permission android:name=android.permission.BLUETOOTH_ADMIN /
uses-feature android:name=android.hardware.bluetooth android:required=
false /
在 2013年4月15日星期一UTC+8下午4时43分27秒,Douglas Drumond写道:
No, you don't
That's it.
--
Douglas Drumond
http://drumond19.com
2013/4/15 limtc thyech...@gmail.com
Thanks!
So it is:
uses-permission android:name=android.permission.BLUETOOTH /
uses-permission android:name=android.permission.BLUETOOTH_ADMIN /
uses-feature android:name=android.hardware.bluetooth
See uses-feature
http://developer.android.com/guide/topics/manifest/uses-feature-element.html
On Monday, April 15, 2013 4:23:41 AM UTC+1, limtc wrote:
Hi,
My game has an optional support for Bluetooth controller.
In the Manifest, I have these entries:
uses-permission
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
5 matches
Mail list logo