tizen-wearable-sdk

Can I create Tizen web app with wifi and speech recognition functionality?

 ̄綄美尐妖づ 提交于 2020-01-25 21:24:48
问题 I am new to Tizen development. I just want to know whether I can use WIFI manager and speech recognition functionality with web app in tizen. If yes how? 回答1: Unfortunately, Wifi manager is not available for web app. You can write a native app for accessing wifi manager. If you want to keep your UI in web app, then write hybrid app. Hybrid app has a service in native and UI in web app. You can get/set all wifi info from service app and send those info to UI app through message port. Here is

Security Privilege Error - Samsung Gear SAP

僤鯓⒐⒋嵵緔 提交于 2020-01-23 12:24:11
问题 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 =

Security Privilege Error - Samsung Gear SAP

霸气de小男生 提交于 2020-01-23 12:24:07
问题 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 =

NFC Tag not working on Gear S2

半世苍凉 提交于 2020-01-14 04:10:26
问题 Im trying to read the data in NFC tag using web development. I am able to detect tags from emulator, but on Gear S2 it does not work. I have given all the privileges in config.xml <tizen:privilege name="http://tizen.org/privilege/nfc.common"/> <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/> <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/> <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/> <tizen:privilege name="http://tizen.org/privilege/nfc

tizen.filesystem.resolve() error - The content of an object does not include valid values

梦想的初衷 提交于 2020-01-06 23:46:01
问题 I am executing the following code in a Tizen web app I'm working on tizen.filesystem.resolve('.', function (dir) { dir.listFiles( function (files) { for (var i = 0; i < files.length; ++i) console.log('File : ' + files[i].name + '\nURL : ' + files[i].toURI() + '\n========'); } ) }, function (err) { console.log('Error : ' + err.message); window.__error = err }, 'r') ... and I am getting the following in the console null VM569:10 Error : The content of an object does not include valid values. My

How to read “resource” files added via Tizen IDE

半世苍凉 提交于 2020-01-06 14:47:00
问题 I'm giving my first steps on programming web apps for Tizen wearable devices . This is what I want to do : By using the Tizen IDE , add a file , e.g. x.txt , under a folder , e.g. data/text (i.e. relative path from project root is data/text/x.txt ) At run-time , I want to read the contents of x.txt file ... and do some extra processing with it . I thought I could just read wgt-package virtual root but my code (after fixing it) returns no file at that location . How could I do this ? BTW , I

SIGNATURE_INVALID when trying to run my project in Samsung Watch

旧巷老猫 提交于 2020-01-06 13:54:08
问题 I see there is a question here in SO, but the proposed answer (deleting .metadata folder) does not work for my case. Here is what I did: First, I had a certificate file (once I generated a certificate signing request file, and was given a certificate file for that). I used that .crt file, but since I had deleted other files in that folder, had to create another .csr file along with other required files (By generating another certificate signing request file). Then I requested for a device

Deploying Tizen app to Gear S2: Non trusted certificate is used

。_饼干妹妹 提交于 2020-01-03 16:45:34
问题 After getting Tizen Studio to work, I am (unsuccessfully) attempting to deploy a sample app to a Samsung Gear S2. The app is one of the samples and I've set up the certificates for use on commercial devices as explained in the instructions. When I select "Permit to install applications" I get the correct success response and I can also see that the device-profile.xml is on the device with the correct DUID. However, attempting to deploy the app (both from the IDE and via sdb) still results in