From: Jongkyu Koo Date: Wed, 16 Mar 2016 07:41:58 +0000 (+0900) Subject: [3.0][contacts-service]Add prerequisites - privileges X-Git-Tag: tizen_3.0/TD_SYNC/20161201~144^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f85d4ba169fb14f3f4ec2c59c6c66adc157ba68;p=sdk%2Fonline-doc.git [3.0][contacts-service]Add prerequisites - privileges Change-Id: I25025c687a765346c5b53f46483c80693ff144c5 Signed-off-by: Jongkyu Koo --- diff --git a/org.tizen.tutorials/html/native/social/contact_tutorial_n.htm b/org.tizen.tutorials/html/native/social/contact_tutorial_n.htm index b94b969..5db7694 100644 --- a/org.tizen.tutorials/html/native/social/contact_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/social/contact_tutorial_n.htm @@ -103,7 +103,15 @@

This tutorial demonstrates how you can manage contacts and groups, and import them to or export them from the vCard format.

-

This feature is supported in mobile applications only.

+

Prerequisites

+

To use the contacts API, the application has to request permission by adding the corresponding privileges to the tizen-manifest.xml file.

+
+  <privileges>
+      <privilege>http://tizen.org/privilege/contact.read</privilege>
+      <privilege>http://tizen.org/privilege/contact.write</privilege>
+      <privilege>http://tizen.org/privilege/callhistory.read</privilege>
+      <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+  </privileges>

Warm-up

Become familiar with the Contacts API basics by learning about: