From 285ebaa07bc29f09c176f2686a015d0f6fcbedaa Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Mon, 21 Mar 2016 17:00:07 +0900 Subject: [PATCH] [2.4][online-doc] Add prerequisites - privileges Change-Id: Ie940850993ec2a6ef4ca00e0c90d426d0825b36f Signed-off-by: Wootak Jung --- org.tizen.guides/html/native/telephony/telephony_info_n.htm | 10 +++++++++- .../html/native/telephony/telephony_info_tutorial_n.htm | 9 ++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/org.tizen.guides/html/native/telephony/telephony_info_n.htm b/org.tizen.guides/html/native/telephony/telephony_info_n.htm index 42b85b1..abb54b6 100644 --- a/org.tizen.guides/html/native/telephony/telephony_info_n.htm +++ b/org.tizen.guides/html/native/telephony/telephony_info_n.htm @@ -60,6 +60,14 @@

Figure: Telephony APIs and Telephony Service

Telephony APIs and Telephony Service

+

Prerequisites

+

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

+
+<privileges>
+    <privilege>http://tizen.org/privilege/telephony</privilege>
+</privileges>
+
+

Call Information

The Call API (in mobile and wearable applications) provides the following functions:

@@ -327,4 +335,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.tutorials/html/native/telephony/telephony_info_tutorial_n.htm b/org.tizen.tutorials/html/native/telephony/telephony_info_tutorial_n.htm index ebd8e12..f093c1f 100644 --- a/org.tizen.tutorials/html/native/telephony/telephony_info_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/telephony/telephony_info_tutorial_n.htm @@ -60,6 +60,13 @@
  • Getting Modem Information

    Access modem information.

  • +

    Prerequisites

    +

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

    +
    +<privileges>
    +    <privilege>http://tizen.org/privilege/telephony</privilege>
    +</privileges>
    +

    Initializing the Telephony Service

    @@ -561,4 +568,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + -- 2.7.4