语言

Menu
Sites
Language
INVALID_PRIVILEGE : settings.write

Hi,

I am trying to use http://tizen.org/privilidge/settingmanager.write permission for using,

Tizen::System::SettingInfo::ResetToFactoryDefault() api

When i try to run the application , i get the following error.

Cannot install application.

Error code: INVALID_PRIVILEGE
Error message: Thrown when unauthorized privileges are detected. [partner] or [platform] signing is required.
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/g936a3rUgF-1.0.0-i386.tpk
Management: Check privilege strings in manifest editor > Privileges > Privileges.

 

Why is this error caused?

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

7 回复
kavish
http://tizen.org/privilege/systemsetting.write Privileges is deprecated so that you can use as it is mention in SDK help document.
kavish
Ignore above comment. The http://tizen.org/privilege/systemsetting.write Privileges is deprecated so that you can not use that Privileges.
Dinesh Shan
I am using the proper priviledge. Yet i get the error.
Dinesh Shan
I saw in the documentation that you need 'platform' priviledge to access "Restore Factory Default" api. What does it take to become an OEM? What is the procedure?
Kien Vu
I have same problem when use http://tizen.org/privilege/telephonymanager, how to fix it?
Pushpa G
Better not to use platform level apis as they are unrecommended ones
akshma gandotra

Same problem with me. I want ot use GenerateTouchEvent() which requires "http://tizen.org/privilege/inputmanager" priviledge which is a platform priviledge