[Location] Added a guide for how to get HERE credentials
authorchanywa <cbible.kim@samsung.com>
Fri, 22 Jan 2016 04:54:21 +0000 (13:54 +0900)
committerchanywa <cbible.kim@samsung.com>
Fri, 22 Jan 2016 04:59:09 +0000 (13:59 +0900)
Change-Id: I9758c2a82244f82f58520e64857361e6ec35847d
Signed-off-by: chanywa <cbible.kim@samsung.com>
org.tizen.guides/html/images/here_credential_account_list.png [new file with mode: 0755]
org.tizen.guides/html/images/here_credential_app_credential.png [new file with mode: 0755]
org.tizen.guides/html/images/here_credential_login.png [new file with mode: 0755]
org.tizen.guides/html/images/here_credential_plans.png [new file with mode: 0755]
org.tizen.guides/html/images/here_credential_register_app.png [new file with mode: 0755]
org.tizen.guides/html/images/here_credential_register_app_evaluation.png [new file with mode: 0755]
org.tizen.guides/html/native/location/here_credential_n.htm [new file with mode: 0644]
org.tizen.guides/index.xml

diff --git a/org.tizen.guides/html/images/here_credential_account_list.png b/org.tizen.guides/html/images/here_credential_account_list.png
new file mode 100755 (executable)
index 0000000..d2d3855
Binary files /dev/null and b/org.tizen.guides/html/images/here_credential_account_list.png differ
diff --git a/org.tizen.guides/html/images/here_credential_app_credential.png b/org.tizen.guides/html/images/here_credential_app_credential.png
new file mode 100755 (executable)
index 0000000..ede7068
Binary files /dev/null and b/org.tizen.guides/html/images/here_credential_app_credential.png differ
diff --git a/org.tizen.guides/html/images/here_credential_login.png b/org.tizen.guides/html/images/here_credential_login.png
new file mode 100755 (executable)
index 0000000..960de29
Binary files /dev/null and b/org.tizen.guides/html/images/here_credential_login.png differ
diff --git a/org.tizen.guides/html/images/here_credential_plans.png b/org.tizen.guides/html/images/here_credential_plans.png
new file mode 100755 (executable)
index 0000000..f63d7e2
Binary files /dev/null and b/org.tizen.guides/html/images/here_credential_plans.png differ
diff --git a/org.tizen.guides/html/images/here_credential_register_app.png b/org.tizen.guides/html/images/here_credential_register_app.png
new file mode 100755 (executable)
index 0000000..d5bf0cb
Binary files /dev/null and b/org.tizen.guides/html/images/here_credential_register_app.png differ
diff --git a/org.tizen.guides/html/images/here_credential_register_app_evaluation.png b/org.tizen.guides/html/images/here_credential_register_app_evaluation.png
new file mode 100755 (executable)
index 0000000..843a440
Binary files /dev/null and b/org.tizen.guides/html/images/here_credential_register_app_evaluation.png differ
diff --git a/org.tizen.guides/html/native/location/here_credential_n.htm b/org.tizen.guides/html/native/location/here_credential_n.htm
new file mode 100644 (file)
index 0000000..56fc959
--- /dev/null
@@ -0,0 +1,128 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9" />
+<link rel="stylesheet" type="text/css" href="../../css/styles.css" />
+<link rel="stylesheet" type="text/css" href="../../css/snippet.css" />
+<script type="text/javascript" src="../../scripts/snippet.js"></script>
+<script type="text/javascript" src="../../scripts/jquery.util.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../scripts/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../scripts/core.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../scripts/search.js" charset="utf-8"></script>
+<title>How to get HERE credentials</title>
+</head>
+
+<body onload="prettyPrint()" style="overflow: auto;">
+       <div id="toc-navigation">
+               <div id="profile">
+                       <p><img alt="Mobile native" src="../../images/mobile_s_n.png"/></p>
+               </div>
+               <div id="toc_border">
+                       <div id="toc">
+                               <p class="toc-title">Related Info</p>
+                               <ul class="toc">
+                                       <li><a href="../../../../org.tizen.tutorials/html/native/location/maps_tutorial_n.htm">Maps Service Tutorial</a></li>
+                                       <li><a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__MAPS__SERVICE__MODULE.html">Maps Service API for Mobile Native</a></li>
+                               </ul>
+                       </div>
+               </div>
+       </div>
+
+
+<h1>How to get HERE credentials</h1>
+
+<p>The HERE Maps Plug-in for Maps Service is provided as a representative one in the Tizen platform, and&nbsp;it is based on the HERE Maps services. As a policy on the HERE Maps, you need a credential&nbsp;of it.</p>
+
+<p>You can&nbsp;select HERE&nbsp;plans <span>&nbsp;</span><span>d</span><span>epending on the number of request queries&nbsp;and the kind of supported features,&nbsp;</span>and pay&nbsp;for the cost of HERE plans<span>.</span></p>
+
+<p>This guide is written to share a summary of how to get new credentials. If you want to get more exact and detailed information, please visit <a href="https://developer.here.com">HERE Developers</a>.</p>
+
+<ul>
+       <li><a href="#step1">Sign in</a></li>
+       <li><a href="#step2">Select a plan for the HERE Maps services</a></li>
+       <li><a href="#step3">Register new application</a></li>
+       <li><a href="#step4">Confirm the new credential</a></li>
+       <li><a href="#step5">Use the credential in your applications</a></li>
+</ul>
+
+<h2 id="step1" name="step1">Step 1. Sign in</h2>
+       <p>If you don't have any account, please register for accounts of the HERE Maps at first.</p>
+       <p><span>Sign in to yours:</span></p>
+       <p><img alt="" height="460" src="../../images/here_credential_login.png" width="790" /></p>
+
+<h2 id="step2" name="step2">Step 2. Select a plan for the HERE Maps services</h2>
+       <p>You can see available plans i<span>n the&nbsp;</span><a href="https://developer.here.com/plans">Plans</a><span>&nbsp;section on the top menu bar.&nbsp;</span></p>
+       <p>Make a plan to use the HERE Maps services taking account of transactions:</p>
+       <p><img alt="" height="589" src="../../images/here_credential_plans.png" width="790" /></p>
+       <p>Click one of buttons such as&nbsp;"Try for free" or "Sign up", to continue.</p>
+       <p>&nbsp;</p>
+
+<h2 id="step3" name="step3">Step 3. Register a new application</h2>
+       <p><span>Register a new application to</span><span>&nbsp;create a new credential.</span></p>
+       <div class="note"><strong>Note: </strong>Depending on the region or country in contact details, you may not be able to register a new application successfully.</div>
+       <p>&nbsp;</p>
+       <p><span>The figure shows the form of Evaluation Plan, when you click "Try for free":</span></p>
+       <p><img alt="" height="650" src="../../images/here_credential_register_app_evaluation.png" width="790" /></p>
+       <p>&nbsp;</p>
+       <p><span>The figure shows the&nbsp;</span><span>form of Evaluation Plan, when you click "Try for free":</span></p>
+       <p><img alt="" height="953" src="../../images/here_credential_register_app.png" width="789" /></p>
+       <p>&nbsp;</p>
+
+<h2 id="step4" name="step4">Step 4. Confirm the new credentials</h2>
+       <p>You can check your credentials on&nbsp;<a href="https://developer.here.com/applications">Applications</a>&nbsp;menu.</p>
+       <p><img alt="" height="165" src="../../images/here_credential_account_list.png" width="790" /></p>
+       <p><span>If you&nbsp;click&nbsp;one of list, you can see app_id and app_code.</span></p>
+       <p><img alt="" height="442" src="../../images/here_credential_app_credential.png" width="790" /></p>
+
+<h2 id="step5" name="step5">Step 5. Use the credential in your applications</h2>
+       <p>You can use the credential in your application with&nbsp;<code>maps_service_set_provider_key()</code>.</p>
+       <p>In case of the HERE Maps services there are two values provided for each credential, app_id and app_code. If app_id is "XXXX" and app_code is "YYYY", concatenate app_id and app_code with a separator '/' as below:</p>
+
+<pre class="prettyprint">
+maps_service_h maps = NULL;
+int error = maps_service_create("HERE", &amp;maps);
+error = maps_service_set_provider_key(maps, "XXXX/YYYY")
+</pre>
+
+<table class="note">
+<tbody>
+       <tr><th class="note">Note</th></tr>
+       <tr>
+               <td class="note">
+                       According to the HERE Maps,
+                       <ul>
+                               <li>app_id uniquely identifies your application.</li>
+                               <li>app_code is used in the authentication process to identify a session.</li>
+                       </ul>
+               </td>
+       </tr>
+</tbody>
+</table>
+
+
+
+
+
+
+
+<script type="text/javascript" src="../../scripts/jquery.zclip.min.js"></script>
+<script type="text/javascript" src="../../scripts/showhide.js"></script>
+<a class="top sms" href="#"><img src="../../images/btn_top.gif" alt="Go to top" /></a>
+<div id="footer">
+       <p class="footer">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br/>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</p>
+</div>
+
+<script type="text/javascript">
+       var _gaq = _gaq || [];
+       _gaq.push(['_setAccount', 'UA-25976949-1']);
+       _gaq.push(['_trackPageview']);
+       (function() {
+                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+                })();
+</script>
+</body>
+</html>
+
index 8fbe344..25d125b 100644 (file)
        <topic href="html/native/location/location_guide_n.htm" label="Location">
                <topic href="html/native/location/location_n.htm" label="Location"></topic>
                <topic href="html/native/location/geofence_n.htm" label="Geofence"></topic>
-               <topic href="html/native/location/maps_n.htm" label="Maps Service"></topic>
+               <topic href="html/native/location/maps_n.htm" label="Maps Service">
+                       <topic href="html/native/location/here_credentials_n.htm" label="HERE Maps Credentials"></topic>
+               </topic>
        </topic>
        <topic href="html/native/messaging/messaging_guide_n.htm" label="Messaging">                    
                <topic href="html/native/messaging/messages_n.htm" label="Messages"></topic>