언어 설정

Menu
Sites
Language
[FIXED] Bluetooth Permission Denied

Hello

i`m developing an app that use bluetooth

when i want to search for nearby devices with this :  bt_adapter_start_device_discovery()

and that function retutns : BT_ERROR_PERMISSION_DENIED

i did anything just as guides here : 

https://developer.tizen.org/development/guides/native-application/connectivity-and-wireless/bluetooth

what should i do now?

Thanks ..

 

 

 

 

 

Edited by: Hamid Najafi on 03 6월, 2017

Responses

2 댓글
Marco Buettner

It seems your have not set up the privileg correctly on your tizen-manifest.xml

Armaan-Ul- Islam

Seems, You Tagged the Post as [FIXED]. Please share the way you fixed it in this post here, that may help the developers further stuck at the same situation.

 

And if its the privilege issue & adding 'bluetooth' privilege in tizen-manifest.xml tricked it out, In that case I would recommend to badge 'Mark as answer' to the response of  Marco Buettner above.

 

<privileges>
   <privilege>http://tizen.org/privilege/bluetooth</privilege>
</privileges>