tizen

SIGNATURE_INVALID when trying to install application on Samsung Gear 2

强颜欢笑 提交于 2019-12-14 01:14:38
问题 After registering with samsung for a developer certificate i can't install my application, i'm getting SIGNATURE_INVALID (code 22). The application can be anything, including a hello world app from the IDE wizard. What's interesting is that before getting an email back from Samsung and instaling the key, I have deployed a hello world app and it worked. Can't duplicate this no more. Log from the IDE: Launching the Tizen application... # If you want to see the detailed information, # please set

Creating and writing into a file in Gear S

瘦欲@ 提交于 2019-12-13 04:59:49
问题 I have a database (IDBStore) defined for the watch. I am trying to write its data into a file and clear the database. Please see the code below: function writeDataLocally() { var database = getDatabase(); var onsuccess = function(array){ var documentsDir, newFile; tizen.filesystem.resolve("documents", onResolve, function(error) { console.log("Could not resolve documents folder."); console.log(error); }); function onResolve(result) { newFilePath = "MyFolder"; documentsDir = result; var newDir

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

How to set background image in Tizen native app

主宰稳场 提交于 2019-12-13 02:06:55
问题 I have been trying to set background image in Tizen Native app but have not been successful so far. I have tried doing the same through Canvas and Bitmap but its not working,though i am not getting any error. I am using the below code in the OnInitializing function of my form. AppResource *pAppResource = Application::GetInstance()->GetAppResource(); Bitmap* pBitmap1 = pAppResource->GetBitmapN(L"image.png"); Canvas *pCanvas = new Canvas(); pCanvas->Construct(); pCanvas->DrawBitmap(Point(0,0),

How to implement back hardware key in multipage webapp in tizen

情到浓时终转凉″ 提交于 2019-12-13 00:30:40
问题 I am pretty new to tizen app development .I am developing a multipage app using Tizen Web UI Builder. How can I implement hardware back key for going back to previous page? I have already tried using this. document.addEventListener('tizenhwkey', function(e) { var activePage = $.mobile.activePage().attr('id'); // read current page switch(e.keyName) { case 'back': switch(activePage) { case 'page1': tizen.application.getCurrentApplication().exit(); break; default: parent.history.back(); break; }

Starting native app development in C++ for wearable device in Tizen IDE

孤街浪徒 提交于 2019-12-12 23:11:17
问题 How to download basic native C++ sample project for Tizen wearables in Tizen IDE.Currently I’m able to download sample project of C language only.Thanks in advance. 回答1: Currently C is the native language of Tizen because most of the API are written as C function. There is a C++ library called DALi. You will find several sample app in Tizen Studio under Mobile UI segment. But if you want, you can still use C++ in your code. For that, you have to change some settings in Tizen studio as follows

How to get Pedometer Step Count data Same as SHealth in Gear s2 (Tizen 2.3.2)?

老子叫甜甜 提交于 2019-12-12 18:36:08
问题 I know already tizen pedometer step count of day can get from "tizen.humanactivitymonitor" in case of web application. but I fail to get it in web app on real gear s2 device. And also I try it with Native System sensor API. but I can not found the Pedometer API in Tizen Native API. How can I get Step Count of Day in both of Native and Web side? 回答1: Using the Tizen Wearable SDK 2.3.2, there is no way to read the S Health step count data. These are your options: WebAPI + Samsung Digital Health

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,

widget_service_trigger_update() return WIDGET_ERROR_PERMISSION_DENIED error

烈酒焚心 提交于 2019-12-12 06:49:21
问题 I'm developing native widget application in Tizen. I want to update a widget application from UI application. So, I find widget_service_trigger_update() API to update native widget. But widget_service_trigger_update() return WIDGET_ERROR_PERMISSION_DENIED error. Tell me what I did something wrong please. 回答1: I found out a something important. The widget application and UI application should be packaged together. When UI application which are not packaged with widget application use widget

How to get DUID on Tizen tablet?

一笑奈何 提交于 2019-12-12 06:25:10
问题 How to get a DUID for Tizen tablet. Connection Explorer - Device - Properties didn't get such information: 回答1: As I know DUID is not standard specification of Tizen. It is served only Gear devices. You can get it with following command. sdb shell /opt/etc/duid-gadget /opt/etc/duid-gadget is not in specification of Tizen. so it can be changed in any time. (But currently it works in Gear S, S2) update: The DUID of recent mobile and wearable devices start with a 2.0# but old devices are 1.0#.