I am attempting to enable/disable bluetooth support in my app, like
this:
AudioManager am = (AudioManager) getSystemService
(Context.AUDIO_SERVICE);
am.setBluetoothA2dpOn(bluetooth);
----
And when I make that call, I get:
09-25 22:42:20.290: WARN/AudioService(586): Audio Settings Permission
Denial: setRouting() from pid=847, uid=10019
----
In my AndroidManifest.xml file I have this:
<uses-permission android:name="android.permission.BLUETOOTH"></uses-
permission>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"></
uses-permission>
any ideas?
tia.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---