Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

API documentation

benjymous edited this page Jul 31, 2012 · 9 revisions

MetaWatch Community Edition includes a rich intent-based API that allows third party Android applications to display information on a user's MetaWatch without the need to modify the MWM code directly.

Available functionality

Notifications

  • Display Text based notifications on the watch. These can be simple pop up messages, or scrollable messages for longer notifications.
  • Display a bitmap notification. The app can prepare a 96x96 monochrome bitmap and send it for the watch to display as a notification.

Vibration

  • An application can instruct the watch to vibrate, with a defined pattern. This allows "invisible" feedback for applications where it is undesirable to require the user to look at the screen.

Widgets

  • Applications can publish their own widgets, which are listed in MWM's widget picker, alongside the built-in widgets.

Watch Applications

  • Applications can display a full screen app on the watch, and receive button presses. These "Watch Apps" integrate with the watch, allowing the user to flip between the widget screen and the running application displays of multiple applications.

Tutorials

See:

https://github.com/benjymous/MWM-for-Android/blob/master/MW_v0.2.4b_APK_API.txt

Example Api demos can be found here:

https://github.com/benjymous/ApiDemos-MWM

TODO

Write proper documentation, and add more examples!!

Clone this wiki locally