android - Sony SmartWatch Control Extension, displaying a view from my App -


i display output (a bitmap) of existing app xyz on smartwatch. understand, control api way go, existing examples sony sdk , opensource projects (8game , musicplayer) aren't clear me. right in assumption, need following classes integrated existing app?

  • mycontrolwatch.java
  • myextensionreceiver.java
  • myextensionservice.java
  • myregistrationinformation.java

what else need , how smartwatch display bitmap? have send control_start_request_intent and, if yes, should that? have change given samplecontrolextension result?

yes, classes need display control extension. don't need send control_start_request_intent necessarily. if want start control extension extension.

look in sample code in samplecontrolsmartwatch.java class included in /samples directory of sdk. check animation() class constructor example. need create layout add bitmap call showbitmap().


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -