tizen-web-app

Unable to change the playhead location using Samsung AVPlay API

冷暖自知 提交于 2020-01-05 04:11:10
问题 I have a typescript/javascript Tizen Web App running in a Samsung Smart TV Emulator v5.0. Using the Samsung AVPlay API. The web app plays an MPEG streaming video source from an HDHomeRun device. The video plays perfectly with sound. The problem is, none of the playhead changing functions work. i.e seek , jumpBackward , jumpForward etc. The all give me the same error "InvalidStateError: PLAYER_ERROR_INVALID_STATE" even though the state is valid "PLAYING, PAUSED or READY". Here is a code

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

送分小仙女□ 提交于 2020-01-02 06:50:24
问题 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). 回答1: For web applications (widgets: sdb push app.wgt /tmp/Application.wgt sdb shell wrt-installer -i /tmp/Application.wgt For widgets

How to install app on Gear S2 via Tizen Studio?

偶尔善良 提交于 2019-12-30 10:01:44
问题 I am new to developing Tizen apps for the Gear S2. I've been through the tutorial but can't get my app installed on my Gear S2. I'm using Tizen Studio 1.0.1 in Mac OS Sierra (10.12.1), and a newly bought Gear S2. I've installed the Extension SDK (Samsung Certificate Extension and Samsung Wearable Extension), then created a certificate through the Certificate Manager (Author Certificate and a Distributor Certificate), connected my Gear S2 via Wifi (same network as my computer), set "Permit to

Write to a file in Tizen Native Application

假如想象 提交于 2019-12-25 16:42:44
问题 I am trying to log the Heart Rate of the Gear S3 to a simple text file using a Tizen Native Application. The only way I could find yet, is with a Web Application... is it possible with a Native App? And if so, Where do I find the reference? Thanks a lot 回答1: The res folder does not allow writing text in a file, It has only Read permission. So you should save it in data folder which has Read and Write permission. char* get_write_filepath(char *filename) { char write_filepath[1000] = {0,}; char

Auto generated code from REST viewer not working in Tizen IDE(Wearable) web app

那年仲夏 提交于 2019-12-25 14:20:10
问题 I'm calling one API from HTML/Javascript page using RestViewer.I'm able to get response on RestViewer for that API. However, after generating auto code it is not working in javascript.In browser it is giving error "Request cancelled".Neither of success and failure block getting called. Attached generated code for calling API.Please help if have any idea. function callAPI() { rest.get( 'http://rest-service.guides.spring.io/greeting', null, null, function(data, xhr) { alert(data); // TODO

Tizen app vibration background

我的未来我决定 提交于 2019-12-25 06:34:07
问题 I have a Samsung Gear S and I'm bussy writing a web app. I would like to vibrate my app when I get a message from my server. I simply use navigator.vibrate(1000) and this works just fine. But when my app goes to the background the vibration doesn't work anymore. I've found this thread (https://developer.tizen.org/ko/forums/web-application-development/vibration-background?langswitch=ko) in which they face the same problem but there is no solution. Someone also suggested to use alarms to make

Send Notification to Gear 2

核能气质少年 提交于 2019-12-24 09:58:08
问题 So in the http://img-developer.samsung.com/contents/cmm/SamsungGearApplication_UID... I've found the notifications panel. I have a host android app on my phone. Can someone point me to a guide/tutorial on how to get the notification produced by my Android App onto the Watch? My setup is Master-Slave Linked App. And Once User pressed the notification on the watch, it will pull up the corresponding Gear 2 App? 2.2. Notifications Unlike the phone’s notification panel, Notifications app

Author signing is missing while uploading Tizen Application

本秂侑毒 提交于 2019-12-24 03:34:13
问题 I used Polaris app generator for converting my android application to Tizen TPK. After conversion, while uploading the tpk file in tizen store, i am getting this "Author signing is missing" Any solution ??? Note : The application was converted using trial version of Polaris 回答1: Do you use Trial version of Polaris or full paid? You have to use full paid to be able to put apps in the store. There is a warning about this on app download step. 来源: https://stackoverflow.com/questions/27177262

Transferring the package… > Fail Error occurred at the below step. `Transferring the package…` (Return Code:2)unknown error

我的梦境 提交于 2019-12-23 19:08:55
问题 When i deploy my Tizen project on emulator then it's giving a error "Transferring the package... > Fail Error occurred at the below step. Transferring the package... (Return Code:2)unknown error" . How can i fix it, and also on developer mode in my emulator. 回答1: The answer to this issue was: Make sure both author and device certificates were setup properly. From the 'Connection Explorer' in the Tizen IDE, right-click on the device, then select 'Permit to install applications'. 来源: https:/

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