[SAMPLE APP][DATA-CONTROL-CONSUMER] Application documentation file added
authorMichal Skorupinski <m.skorupinsk@samsung.com>
Tue, 6 Oct 2015 12:22:07 +0000 (14:22 +0200)
committerMichal Skorupinski <m.skorupinsk@samsung.com>
Mon, 12 Oct 2015 11:49:51 +0000 (13:49 +0200)
Change-Id: I5e3d293c2dcca89646cf457cc8bbc9c0fa823a12
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-map-layout.png [new file with mode: 0644]
org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-sql-layout.png [new file with mode: 0644]
org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_map.png [new file with mode: 0644]
org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_sql.png [new file with mode: 0644]
org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm [new file with mode: 0644]

diff --git a/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-map-layout.png b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-map-layout.png
new file mode 100644 (file)
index 0000000..91aaec4
Binary files /dev/null and b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-map-layout.png differ
diff --git a/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-sql-layout.png b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-sql-layout.png
new file mode 100644 (file)
index 0000000..19e46ea
Binary files /dev/null and b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-sql-layout.png differ
diff --git a/org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_map.png b/org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_map.png
new file mode 100644 (file)
index 0000000..99b9940
Binary files /dev/null and b/org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_map.png differ
diff --git a/org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_sql.png b/org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_sql.png
new file mode 100644 (file)
index 0000000..e1f389a
Binary files /dev/null and b/org.tizen.sampledescriptions/html/images/data_control_consumer/data_control_consumer_view_sql.png differ
diff --git a/org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm b/org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm
new file mode 100644 (file)
index 0000000..49988d6
--- /dev/null
@@ -0,0 +1,96 @@
+<!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>Data-Control-Consumer Sample Overview</title>
+</head>
+
+<body class="no-toc" onload="prettyPrint()" style="overflow: auto;">
+
+<div id="toc-navigation"></div>
+
+<div id="container"><div id="contents"><div class="content">
+       <div id="profile">
+               <p><img alt="Mobile native" src="../images/mn_icon.png"/></p>
+       </div>
+
+       <h1>Data-Control-Consumer Sample Overview</h1>
+
+       <p>
+               The sample demonstrates how to exchange data between a consumer application and a provider service. There are two methods of data exchange:
+               <ul>
+                       <li>Map method - using key value pairs;</li>
+                       <li>Sql method - using sql queries.</li>
+               </ul>
+       </p>
+
+       <p>The figures below illustrate the application's view.</p>
+       <p id="app-screenshot" class="figure">Figure: Data-Control-Consumer application screens.</p>
+       <p style="text-align:center;">
+               <img alt="The 'Map' view" height="364" hspace="20" src="../images/data_control_consumer/data_control_consumer_view_map.png" />
+               <img alt="The 'Sql' view" height="364" hspace="20" src="../images/data_control_consumer/data_control_consumer_view_sql.png" />
+       </p>
+
+       <p>The sample application's user interface consists of two views:</p>
+               <ul>
+                       <li>Map view - allows to use the 'map' communication method;</li>
+                       <li>Sql view - allows to use the 'sql' communication method.</li>
+               </ul>
+
+       <p>Both views are divided into two sections:</p>
+       <ul>
+               <li>Input - allows the user to send a request to the provider application;</li>
+               <li>Output - displays the data received from the provider application.</li>
+       </ul>
+
+       <p>The structure of the user interface is depicted below.</p>
+       <p id="ui-struct" class="figure">Figure: Data-Control-Consumer map view layout structure.</p>
+       <p style="text-align:center;">
+               <img alt="Data-Control-Consumer map layout structure " hspace="80" height="550" src="../images/data_control_consumer/data-control-consumer-map-layout.png" />
+       </p>
+       <br/>
+       <p id="ui-struct" class="figure">Figure: Data-Control-Consumer sql view layout structure.</p>
+       <p style="text-align:center;">
+               <img alt="Data-Control-Consumer sql layout structure " hspace="80" height="550" src="../images/data_control_consumer/data-control-consumer-sql-layout.png" />
+       </p>
+
+
+
+
+
+
+
+<!-- ********************************************************************************** -->
+
+
+<script type="text/javascript" src="../scripts/jquery.zclip.min.js"></script>
+<script type="text/javascript" src="../scripts/showhide.js"></script>
+</div></div></div>
+
+<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>