Wednesday, June 25, 2014

What you 'can' and 'cannot' do with Tizen SDK for Wearable

I was trying to using Samsung galaxy gear 2 for Bluetooth device discovering and audio recording. However, the SDK wouldn't let me create a native project. So I figured out I could using the Web App API to control the Bluetooth and microphone components of the watch. I was wrong, these features are not supported yet according to the release notes of the SDK.

The Bluetooth

They mentioned in the SDK version 1.0.0b1:
Device APIs to access to a device’s platform capabilities support
  • Alarm, Application, Bluetooth, Filesystem, System Information, Power, Motion(currently pedometer supported), SAP(communication between host and wearable device) API
But in the SDK version 1.0.0b2, they stated:
The Bluethooth API , which was incorrectly listed in the supported API lists in the 1.0.0b1 release note, is now removed in the list

The Microphone/Audio Input

It's not clear whether audio recording is supported or not now. In their release note 1.0.0b1 they stated that the SDK support webkit framework and HTML5 audio/video element. And in the release note 1.0.0b2, they also stated in the fixed bugs section:
  • Audio recording support with Camera API.
    • “audio:true” of MediaStreamOptions is now supported in getUserMedia() API
    • Audio recording is supported with Camera API by passing audio-only MediaStream object to createCameraControl() API
    • Supported audio recording format : AMR and 3GP
In a word, for Tizen SDK for wearable, control of Bluetooth is not supported yet and audio may be supported by using HTML 5 element (here is the link of how to capture audio/video in HTML 5: http://www.html5rocks.com/en/tutorials/getusermedia/intro/).

No comments:

Post a Comment