Languages

Menu
Sites
Language
Bluetooth previlage causes compile time error.

I'm developing an app which needs to access data from neraby bluetooth devices. But whenever I add the privilege 'http://tizen.org/privilege/bluetooth' it causes a compile time error and I couldn't run the app. For the mean time I'm following this privilege structure,

    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>

Responses

4 Replies
Marco Buettner

It depends of your required_version do you set... If u use <2.4 you have to setup bluetooth.admin and co. With your want to build your application for 2.4 and higher you just need bluetooth as privileg

Read the documenation carefully.

Armaan-Ul- Islam

To avoid this compile time error due to Version:

# Instead of adding Privilege in Code, Go to confi.xml > Privlileges Tab

# Click '+' Add button, Now on the list you will only see the privileges your version supports:

 

Screenshot: 2.4 and higher

 

Screenshot: lower than 2.4

 

Armaan-Ul- Islam

Hello Aldrin Joe Mathew,

Have you managed to add appropriate privileges required for your device's Tizen version?

Nurullayev

Go to confi.xml > Tizen Tab and change "Required version" to 3.0

Enjoy !!!