That's it.
-- Douglas Drumond http://drumond19.com 2013/4/15 limtc <[email protected]> > 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 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. >> > -- > -- > 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.

