tizen

Best way to display high-speed data from a telnet interface on a web view?

我的未来我决定 提交于 2019-12-06 08:11:18
问题 I'd like to display data coming off a telnet interface on a web view. I have a daemon running which reads CAN bus data and produces about 500 lines of ~40 characters per second onto a telnet port. It's a few messages running at 100 Hz and most others running at 10 or 5 Hz, so in sum it's about 500 / second. I want to grab the latest values in each packet and display those on a web page. The web page is loaded locally (not via HTTP) and the daemon might be on a different host, so there is

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

Tizen Push notifications in emulator

偶尔善良 提交于 2019-12-06 05:37:17
问题 I'm currently developing a small Tizen web application in the emulator as I don't have a developer device. For this application I need to use push messaging. I requested access to the push service and that request was approved. After that I tried to register the application, as described here: https://developer.tizen.org/documentation/articles/push-api I've added the following privilige and the access origin, as it's stated in the guide: <tizen:privilege name="http://tizen.org/privilege/push"

XmlHttpRequest on Tizen TV exits application

徘徊边缘 提交于 2019-12-06 00:16:27
I am currently developping an app for Samsung Tizen and WebOS TVs. For this, I am using Samsung's TOAST and Caph with angular1. The generated .wgt is working fine on browser and TV Simulator, but on real device, the application exits when an XMLHttpRequest is sent. Here is the code: var url = "grant_type=password&username=" + $scope.logInfos.loginEmail + "&password=" + $scope.logInfos.loginPassword; var xhr = new XMLHttpRequest(); xhr.open('POST', 'https://myUrl/token'); xhr.onreadystatechange = function() { xhr.onloadend = function() { if (xhr.response) { console.log("logged in"); } }; }; xhr

How do I deploy a Tizen application to the Tizen emulator?

我与影子孤独终老i 提交于 2019-12-05 13:18:18
I see Tizen has the Smart Development Bridge (sdb, similar to adb for Android), but it doesn't have an 'install' command as the Android Debug Bridge has on Android. Can someone give me the steps to deploy/execute a Tizen application on the Tizen emulator? I want to be able to do this outside of the Tizen development environment (these steps are required by QA). For web applications (widgets: sdb push app.wgt /tmp/Application.wgt sdb shell wrt-installer -i /tmp/Application.wgt For widgets using Command Line Interface tools web-install :: web-install -w Application.wgt -i application_uri_id.org

Memory mapped equivalent for FirefoxOS

岁酱吖の 提交于 2019-12-05 03:45:20
How would you emulate a memory mapped file in FirefoxOS, Tizen or any other mobile pure-JS solution? The use case is for a mobile browser and you need lots of data which does not fit in the RAM or you don't want to waste RAM for it yet and prefer to lazy load it. The only thing I found is IndexedDB or what can I do about it? Any better tricks or APIs? Hmmh it looks like Web SQL Database could be also a solution on Android, Tizen or iOS. But Firefox does not support it (?) Update : I'm asking because of some experiments jnv First thing first, Web SQL won't be ever standardised as explained in

Tizen samsung wear bluetooth access

喜你入骨 提交于 2019-12-04 18:18:51
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, but being an open platform I would like to make my own application communicate with other Bluetooth

How to get raw data(Heart Rate etc) from samsung gear s3 in Android

自作多情 提交于 2019-12-04 13:08:59
I want to buy Samsung Gear S3 for development. I want to use raw data that Gear S3 has. I searched many sites, but I couldn't find how to get raw data from Gear S3 in Android using BLE. Any help please? The topic Seems vast. I haven't seen some example code to fetch data directly from hardware layer sensor of another device of another platform. I know You can transfer the data in application layer using common BLE protocol. In Tizen, you can chose your suitable platform Native (C/C++) or Web (js/HTML/CSS) You can start from checking out the Tizen Native Sensor Guide , It discusses how to fetch

Tizen Push notifications in emulator

假如想象 提交于 2019-12-04 11:07:47
I'm currently developing a small Tizen web application in the emulator as I don't have a developer device. For this application I need to use push messaging. I requested access to the push service and that request was approved. After that I tried to register the application, as described here: https://developer.tizen.org/documentation/articles/push-api I've added the following privilige and the access origin, as it's stated in the guide: <tizen:privilege name="http://tizen.org/privilege/push"/> <access origin="https://euwest.push.samsungosp.com:8088" subdomains="true"/> After that I've added

Retrieving Data from GEAR S3 Heart Rate Monitor (HRM) to Mobile or Server

邮差的信 提交于 2019-12-04 06:48:42
问题 I have used the Tizen sample Heart Rate Monitor code for Samsung Gear S3 from https://developer.tizen.org/ko/community/tip-tech/accessing-heart-rate-monitor-hrm-sensor-data-native-applications?langredirect=1 I want to develop Android or Tizen for Retrieving Data from the Heart Rate Monitor which is in S3 Gear. I found the sample code from https://developer.tizen.org/ko/development/guides/web-application/sensors/human-activity-monitor?langredirect=1#retrieve How can I integrate this. Pls share