introduction to samsung gear sdk
DESCRIPTION
This presentation covers the basics of developing Samsung Gear apps which run on Samsung Gear 2. This document also touches upon gear-ui which is used to create UIs on the Tizen powered smartwatch.TRANSCRIPT
Manikantan Krishnamurthy
http://developer.samsung.com/samsung-mobile-sdk#accessory
https://developer.tizen.org/downloads/tizen-sdk#wearable
Gear 2 apps run on HTML,JS and CSS.
% sdb devices
% sdb shell
% sdb help
Gear
SA.initialize()
SAAgent.findPeerAgents()
SAAgent.onFindPeerAgentResponse()
SAAgent.requestServiceConnection()
SASocket.send()
SASocket.close()
SA.initialize()
SAAgent.onServiceConnectionResponse()
SASocket.onReceive()
<uses-permission
android:name />
<tizen:privilege name=
"http://developer.samsung.com
/privilege/accessoryprotocol"/>
<button type="button" class="ui-btn">Button Default</button><a href="#" class="ui-btn ui-color-red">A Button Red</a><input type="button" class="ui-btn ui-color-orange" value="Input Button Orange" /><button type="button" class="ui-btn ui-color-green">Button Green</button>
<button type="button" class="ui-btn" disabled="disabled">Button disabled</button><button type="button" class="ui-btn ui-btn-icon" style="background-image: url(images/00_icon_back_ef.png);">Button Icon</button>
<div class="ui-page"><header class="ui-header">
<h2 class="ui-title">Call menu</h2></header><div class="ui-content content-padding">
It was a real pleasure for me to finally get to meet you. My colleagues join me in sending you our holiday greetings.</div><footer class="ui-footer">
<a href="#" class="ui-btn" >Footer Button</a></footer>
</div>
<div id="1btnPopup" class="ui-popup"><div class="ui-popup-header">Power saving mode</div><div class="ui-popup-content">Turning on Power saving mode will limit the maximum power</div><div class="ui-popup-footer">
<button id="1btnPopup-cancel" class="ui-btn">Cancel</button></div></div>
<ul class="ui-listview"><li class="li-has-multiline li-has-next-depth">
<a href="#“> Wi-fi<span class="li-text-sub">Overall size of fonts</span> </a> </li>
<li class="li-has-multiline li-has-next-depth"><a href="#“> Bluetooth<span class="li-text-sub">Screen savers and other</span> </a>
</li><li class="li-has-multiline li-has-next-depth disabled">
<a href="#“>Data usage (disabled)<span class="li-text-sub">Overall size of fonts</span></a>
</li></ul>
<div class="ui-processing"></div><div class="ui-processing-text">Description about progress</div>
<progress class="ui-progress-indeterminate" max="100" value="100"></progress><br><progress max="100" value="90"></progress><br><progress max="100" value="50"></progress><div class="ui-progress-proportion">00/20</div><div class="ui-progress-ratio">50%</div><br>
http://developer.samsung.com/samsung-gear
http://developer.tizen.org/downloads/sdk/wearable
http://developer.samsung.com/samsung-mobile-sdk#accessory