Quantcast
Jump to content

maljaros

No native Strava mobile app for Tizen OS smartphones

Recommended Posts

There is no native Strava mobile app for Tizen OS smartphones, so what app could be used for tracking trail run and cycling activities on a Samsung Z4? Or is there a "non-native" route to Strava itself?

Thank you, Maljaros

Share this post


Link to post
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Topics

    • By STF News
      Rotary event handling, enabled via the bezel, is supported on the Tizen platform. A bezel is a term used to describe the outside frame of a device, and in the case of a Galaxy Watch, the bezel is the outer ring of the device, which can be rotated. Rotary events are triggered from the Galaxy Watch rotary component when the bezel is rotated clockwise or counterclockwise. The event for each rotation is measured in incremental units called “detents.”

      Bezel interactions can be used in a variety of ways, such as controlling the application page, controlling the snap list, changing the progress bar value, scrolling the page, changing the volume, and setting configurations such as date-time on the date-time picker.
      This blog discusses how to handle rotary events in Tizen web and native applications. In the following example, you’ll learn how to let a user interact with bezel by using the rotary event to receive or reject a call. The user rotates the bezel clockwise to receive the call and counterclockwise to reject it.

      Note: Because Galaxy Active devices do not have bezels, rotary features will not work on them.
      Prerequisites
      Tizen Web
      In the Tizen web application, add the following line in the config.xml file:
      <feature name="tizen.org/feature/input.rotating_bezel"/> Tizen Native
      In the Tizen native application, include the <system_info.h>header file to use the functions and data types of the system information API.
      #include<system_info.h> You also must add the following line to the manifest file:
      <feature name="http://tizen.org/feature/input.rotating_bezel">true</feature> Check capability
      Tizen Web
      In the Tizen web application, use the following line to check if the device supports rotary events or if it uses bezel:
      var isSupport = tizen.systeminfo.getCapability('http://tizen.org/feature/input.rotating_bezel'); console.log(' Bezel = ' + isSupport); The getCapability() function of the Tizen web API returns with information about whether or not the device supports bezel.
      Tizen Native
      In the Tizen native application, use the following code to check bezel capability:
      bool rotaryValue; int rotaryReturn; rotaryReturn = system_info_get_platform_bool("http://tizen.org/feature/input.rotating_bezel", & rotaryValue); if (rotaryReturn!= SYSTEM_INFO_ERROR_NONE) { dlog_print(DLOG_INFO, LOG_TAG, "Rotary error"); return; } dlog_print(DLOG_INFO, LOG_TAG, "Bezel: %s", value ? "Supported" : "Not supported"); Implementation
      Tizen Web
      Register the rotarydetent event. After registering an event, ev.detail.direction provides the direction value. If the value is CW, the bezel is rotated clockwise. If the value of direction is CCW, the bezel is rotated counterclockwise.
      document.addEventListener('rotarydetent', function(ev) { /* Get the direction value from the event */ var direction = ev.detail.direction; var textbox = document.querySelector('.contents'); box = document.querySelector('#textbox'); if (direction == 'CW') { /* Add behavior for clockwise rotation */ console.log('clockwise'); box.innerHTML ="clockwise"; } else if (direction == 'CCW') { /* Add behavior for counter-clockwise rotation */ console.log('counter-clockwise'); box.innerHTML ="counter-clockwise"; } }); Tizen Native
      Register the rotary event in the app using the following line:
      eext_rotary_event_handler_add(_rotary_handler_cb, ad); The handle function is defined using following code:
      Eina_Bool _rotary_handler_cb(appdata_s *data, Eext_Rotary_Event_Info *ev) { if (ev->direction == EEXT_ROTARY_DIRECTION_CLOCKWISE) { dlog_print(DLOG_DEBUG, LOG_TAG, "Rotary device rotated in clockwise direction"); } else { dlog_print(DLOG_DEBUG, LOG_TAG, "Rotary device rotated in counter-clockwise direction"); } return EINA_FALSE; } If the rotation direction is equal to EEXT_ROTARY_DIRECTION_CLOCKWISE, the bezel is rotated clockwise. Otherwise, the bezel is rotated counterclockwise.
      Demo
      Two sample apps are attached:
      • Rotary Native
      • Rotary Web
      Web
      When you run the web sample app and turn the bezel clockwise, the following text appears on the watch face:

      When you turn the bezel counter counterclockwise, “counterclockwise” appears on the watch face:

      Native
      When you run the native sample app and turn the bezel clockwise, the following text appears on the watch face:

      When you turn the bezel counterclockwise, the following text appears:

      For more information
      The bezel is the physical controller of some Samsung wearable devices. Understanding the physical characteristics of the bezel will help you design better interactions.
      References:
      https://developer.tizen.org/development/guides/web-application/user-interface/tizen-advanced-ui/applications-circular-ui/handling-rotary-events https://developer.tizen.org/development/guides/native-application/user-interface/efl/hardware-input-handling/managing-rotary-events https://developer.tizen.org/design/wearable/interaction/bezel-interactions?langswitch=en View the full blog at its source
    • By STF News
      Health monitoring is a very popular feature in smart watches, and Tizen provides various APIs for this purpose. One API is HumanActivityMonitor, which allows users to monitor health by providing metrics such as heart rate, step count, and stress level.
      This blog describes how to measure heart rate using this API. A sample web app combined with a widget is attached. This sample app measures heart rate and stores data by timestamp, and the widget shows the last measured heart rate. This blog focuses on how to measure heart rate using the device sensor, stored data, and communication between an app and a widget.
      Create and run a Tizen project
      1. Create a project in Tizen Studio. Because our target is an app that is combined with a widget, select the Widget template to create this project.

      2. Add the Tizen Advanced UI (TAU) framework library to your project. You can create and manage various UI functionalities using the TAU library as an alternative to designing a UI with HTML and CSS components.
      3. Link the tau.circle.min.css and tau.min.js in the app’s index.html file.
      <link rel="stylesheet" href="lib/tau/wearable/theme/default/tau.min.css"> <link rel="stylesheet" media="all and (-tizen-geometric-shape: circle)" href="lib/tau/wearable/theme/default/tau.circle.min.css"> <script src="lib/tau/wearable/js/tau.min.js"> </script> Measure heart rate and manage data
      To measure heart rate using the HumanActivityMonitor API, add the following feature and privilege to the config.xml file:
      <feature name="http://tizen.org/feature/humanactivitymonitor"/> <tizen:privilege name="http://tizen.org/privilege/healthinfo"/> Applications must request a user’s permission for privacy-related features. The tizen.ppm.requestPermission() method invokes the permission pop-up. When users give permission through the pop-up, they can then use the app features related to that privilege.
      To measure heart rate, users must give permission to access the sensor using the following code snippet:
      function onSuccess() { function onchangedCB(hrmInfo) { console.log(‘heart rate:’ + hrmInfo.heartRate); tizen.humanactivitymonitor.stop('HRM'); } tizen.humanactivitymonitor.start('HRM', onchangedCB); } function onError(e) { console.log("error " + JSON.stringify(e)); } tizen.ppm.requestPermission("http://tizen.org/privilege/healthinfo",onSuccess, onError); Note that the HumanActivityMonitor API provides heart rate data directly in BPM (beats per minute). If you need the raw data of the sensor, you can use SensorHRMRawData.
      The following screenshots show how to measure heart rate using the sample app:

      The Web Storage API stores data in key-value format. This API offers two types of storage – Local and Session. In the sample, we use local storage, along with Date as key and heartRate as value. The Date key retrieves data according to date, week, and month. If you do not want to retrieve history according to date, you can use a different key, such as an integer value; just make sure there is no repetition in key value.
      Create a Date object to get the current time stamp. localStorage.setItem() puts the key (Date)-value (heartRate) pair in local storage.
      var date_key = new Date(); localStorage.setItem(date_key, hrmInfo.heartRate); To retrieve data, filter according to the key. Date and month are retrieved from the Date object and filter data using localStorage.getItem(localStorage.key(i)).
      var date = new Date(); var lastdate = new Date(localStorage.key(i)); if (lastdate.getDate() == date.getDate() && lastdate.getMonth() == date.getMonth()) { console.log(localStorage.key(i)+ " :" + localStorage.getItem(localStorage.key(i))); The following screenshots show how the history is categorized by day, week, and month:

      Communication between the app and a widget
      The sample widget shows the last measured heart rate value, and heart rate history is stored in the local storage of the web app. To establish communication between the app and widget, we’ll use the Preference API. The Preference API stores key-pair values, allowing web widgets to communicate with their parent apps.
      In the app, data is stored with ‘KEY’:
      tizen.preference.setValue('KEY', hrmInfo.heartRate); In the widget, data is retrieved using the same ‘KEY’:
      if (tizen.preference.exists('KEY')) { console.log(‘Last Measured: ‘ + tizen.preference.getValue('KEY')); } The following screenshot of the sample widget shows the last measured heart rate:

      Launch the app from a widget
      To launch an app from widget, add the following privilege to config.xml:
      <tizen:privilege name="http://tizen.org/privilege/application.launch"/> To launch an app, provide your app ID in tizen.application.launch().
      tizen.application.launch(YourAppID); In the sample widget, the user taps Measure to launch the heart-rate measuring page or History to launch the heart-rate history page, and Preference can be used to determine which one is clicked. To implement, a different key-value pair is set for each page in the widget, and in the web app, key values are checked to detect which page is clicked.

      For example, in the widget, the open_measure key is set to 1 to link to the Measure Page. The app then launches.
      tizen.preference.setValue(‘open_measure’, 1); tizen.application.launch(YourAppID); The app checks for the open_measure key. If the key exists, the user is redirected to the Measure Page with tau.changePage().
      window.onload = function() { if (tizen.preference.exists(' open_measure ')) { tau.changePage(YourPageID); } } You can also use the HumanActivityMonitor API to implement a step counter, stress level reading, GPS, and other features in your wearable device. Because enabling other features is similar to implementing the heart rate monitor, you can use this blog as a guide and the attached sampleHeartRateMonitor to enable a full range of health monitoring metrics to your Galaxy Watch.
      View the full blog at its source
    • By Alex
      How do you get HBO Go on Samsung Tizen Smart TVs? HBO Go is supported on most Samsung Tizen Smart TVs.
      To find out if HBO GO is available on your Samsung TV, go to Samsung TV: Compatible Devices with HBO GO and look for your Samsung TV model.
      If HBO GO is not available on your Samsung TV, you can use a streaming player (such as Roku or Apple TV), a game console, or stream HBO GO to your TV using Chromecast. 
      Go to Smart Hub and search for HBO Go
       
    • By Alex
      Hopefully there will be a Disney plus app released for Samsung Tizen TVs. Disney announced devices that will be compatible but most TV brands are not on there yet.
      Disney unveils international rollout of streaming service
       
    • By Alex
      15 different tips and tricks on Samsung Tizen OS 4.0 (2018) platform. Demonstrated on 55-inch 55NU7400 UHD TV.
      You will find in this video how to:
      Reinstall an app 0:13 Disable Smart hub being displayed when TV is turned on 0:39 Get information about an input 1:11 Change input name 1:43 Connect Bluetooth devices 2:08 Switch to home or shop mode 3:02 Scan for viruses 3:30 Enable PC mode 4:08 Enable game mode 5:08 Enable or disable HDMI CEC 5:26 Enable or disable the ambient light sensor 5:58 Turn off sound feedback 6:45 Quickly activate the sleep timer 7:13 Find out TV’s IP address 7:49 Reset all settings to default 8:11  
       


×
×
  • Create New...