tizen-wearable-sdk

database support in Samsung galaxy gear 2

落爺英雄遲暮 提交于 2019-12-13 04:24:43
问题 I wanted to know which database does the Samsung Galaxy Gear 2 support. Gear 2 being based on Tizen I tried using the Web SQL database. However on the emulator it shows that the Web SQL is not supported. Can anyone tell me which database is supported for the Gear 2 ? 回答1: There are 3 ways get this done .. HTML5 Webstorage, IndexedDB and good old Files . More importantly, the Tizen wearable sdk comes with sample code HTML5 WebStorage Example. Since your apps are written in HTLM5 and compiles

Tizen samsung wear bluetooth access

人盡茶涼 提交于 2019-12-12 09:14:40
问题 I am attempting to access the Bluetooth API in the Samsung wear IDE for the Gear 2. I have successfully added the WIDLPROCXML definitions from the normal IDE to the Wear IDE and can have access on content assist to all the tizen.bluetooth.xx functions. In the Wear IDE on the app.js file below, the console results undefined when calling the bluetooth.address function. I am aware that Tizen intentionally is trying to disallow access to Bluetooth to keep their watch only on the Samsung devices,

Smart Watch Tizen Samsung Gear S3 smartwatch native app with Phone companion app over bluetooth

十年热恋 提交于 2019-12-12 02:43:52
问题 I would like to know if it is possible to create Tizen native apps on Samsung Gear S3 (running Tizen) that make use of the Human Activity Monitor or other Samsung Api in a way that does NOT require using any internet but to directly transfer data gathered to my own Phone App over Bluetooth without Samsung having access to the communication between my watch and my phone. So I don't want to use Samsung Gear "Manager" or S-Health or other methods which I "think" would give Samsung potential

Start tizen app at start up

巧了我就是萌 提交于 2019-12-11 20:36:00
问题 I have an app in Tizen, and I would like to run it at the watch's boot up. Here is how my app.js looks like: $(document).ready(function() { document.addEventListener('tizenhwkey', function(e) { if(e.keyName == "back") { tizen.application.getCurrentApplication().exit(); } }); // The rest of the program } Now, I can see that a Service Application can be executed at the start up, and here explains what are the necessary steps to build a Service Application. However, I was not able to relate

How to Add Icon to Button (Tizen Wearable) + Equivalent of RelativeLayout in Tizen

雨燕双飞 提交于 2019-12-11 15:15:24
问题 Good day. I'm trying to develop a simple Tizen (wearable) app. So, my current goal is to make a button that has a 'plus' icon. I've created a single UI Layout project. So, this is the code for the button. <button align_v="fill" visible="true" weight_v="1" pack_h="49" weight_h="1" align_h="fill" pack_w="210" disable="false" pack_x="290" pack_y="364" style="default" id="button1" text="Button"> Usually, when creating Android apps, we do this: android:src="@mipmap/baseline_plus_alt_black_24" 'src

Error 81 when launching web app on Gear S2 device

天大地大妈咪最大 提交于 2019-12-10 17:29:02
问题 I am using Tizen SDK (2.4.0_Rev5) to launch the demo app HelloTizen (wearable-2.3) on my Gear S2 but it fails, with the following error: Unknown Error [81] Unknown Error [81] When I try to install it with sdb install HelloTizen.wgt I get the following output: pushed HelloTizen.wgt 100% 36KB 0KB/s 1 file(s) pushed. 0 file(s) skipped. /home/user/tizen/HelloTizen/HelloTizen.wgt 114KB/s (37179 bytes in 0.318s) path is /opt/usr/apps/tmp/HelloTizen.wgt __return_cb req_id[138540002] pkg_type[wgt]

Notification in Gear2 App

穿精又带淫゛_ 提交于 2019-12-08 06:38:31
问题 Is it possible to sent notification from Gear Provide app to Gear Consumer App ? if possible Please provide a tutorial or sample code for that 回答1: Gear2 notification framework isn't built in as Android wear framework. To do it, you must implement two sides, your Gear2 app and your Android host app. On your Gear2 app, the tricky part is the javascript callback to accept connection from host-app. var agentCallback = { onrequest : function(peerAgent) { //accept connection if there is a request

Tizen IDE crashes all the time

邮差的信 提交于 2019-12-06 22:26:41
Tizen IDE crashes all the time when I want to start example project. I'm running Tizen IDE 1.0.0b2 under Ubuntu 12.04. Currently it gives me following ouput. It seems that the problem is here: err:wineboot:ProcessRunKeys Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (2) Though, I've no idea why IDE try to access windows libraries. Output form IDE: JVM terminated. Exit code=1 /usr/bin/java -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6 -XX:+AggressiveOpts -XX:PermSize=128M -XX:MaxPermSize=256M -XX:MaxNewSize=128M -XX:NewSize=128M -Xms256m -Xmx512m -Dlog4j

Watch Face with additional styles in Gear S2 on Tizen SDK

末鹿安然 提交于 2019-12-06 13:28:08
问题 I'm working on developing various watch faces for the Gears S2 under the Tizen Web SDK. I've noticed some of the preinstalled watch faces have a "Style" button at the bottom of the watch chooser screen. When this button is tapped, a page full of options appears enabling the user to change the color, as well as other watch face options. I cannot find any API that allows me to put this same button on my watch faces in order to provide a color changing UI. Anyone here have any ideas? I've

Security Privilege Error - Samsung Gear SAP

拈花ヽ惹草 提交于 2019-12-06 07:35:47
I'm following the Samsung SAP provider/consumer tutorial and I'm getting a security error when I run the connect() method: function connect() { console.log("trying to connect"); document.getElementById('label').innerHTML = 'trying to connect'; if (SASocket) { alert('Already connected!'); return false; } try { webapis.sa.requestSAAgent(onsuccess, onerror); } catch(err) { console.log("exception [" + err.name + "] msg[" + err.message + "]"); document.getElementById('errorlabel').innerHTML = "exception [" + err.name + "] msg[" + err.message + "]"; } } js/main.js (74) :exception [SecurityError] msg