Search code examples
watchkitapple-watchsony-smartwatchtizen-wearable-sdksamsung-galaxy-gear

Possible to cross-platform develop Watch/Wearable applications?


since I am new in the world of developing apps for watches, and the fact that it exists for smartphones the following frameworks:

  1. Xamarin
  2. PhoneGap
  3. appcelerator
  4. kony
  5. Cordova
  6. ...

I wonder if there exists for watches apps similar frameworks? So that you code once but run overall.

Thanks

Edit 1:

At this day (12.05.2015) regarding to the answer of a nativescript maintainer here. I will go with nativescript to start writing app for wearables.


Solution

  • Cordova/PhoneGap apps don't work directly on the wearable devices/watches. Cordova/PhoneGap is basically a javascript API which can run on WebKit/WebView on all the mobile OS's. But the Android Watch and Apple Watch doesn't support WebKit and so the apps developed with Cordova don't work directly on Watch devices. But if want to extend some of the features from the existing Cordova app to the wearable app, you need to create the extension app in native language and the extension should be able to communicate with the paired app on the mobile device. The extension on the Watch will have only UI and the bussiness logic etc runs on the Cordova app on the mobile. It is possible to establish communication between these apps which will drive the display on the watch devices.

    I am not sure about the other frameworks you listed above on how much they support wearable devices.