언어 설정

Menu
Sites
Language
The application does not have the privilege to call this method.

I am trying to run the following app aaron.jaxns.net/2014/10/accessing-the-gears-heart-rate-monitor/  in my Gear device. I create the certificates that is needed and I run proper the app however after a while I am receiving the following message in console.:

gear_samples_hrm-master/js/main.js (68) :SecurityError: The application does not have the privilege to call this method.

When I try to add privilage as suggested in the provided link:

 

    <tizen:privilege name="http://developer.samsung.com/privilege/healthinfo" />
    <tizen:privilege name="http://developer.samsung.com/privilege/medicalinfo" />

I got the Error code: PRIVILAGE_LEVEL_VIOLATION. How can I solve that issue?

 

 

 

Edited by: Jose Ramon on 04 6월, 2015

Responses

2 댓글
daniel kim

Hi,

How about you try it with partner level certificate? it seems that this api can be working on partner level certficate.

Please refer to this link.

  https://developer.tizen.org/forums/general-support/new-motion-api-sdk-wearable-1.0.0b3

Regards

 

AVSukhov

Hello,

You need create a new device-profile.xml which has Partner level.