Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Wear C# on your Wrist

Jon
December 11, 2014

Wear C# on your Wrist

Dive into Android Wear with Xamarin, and learn how to extend your apps to your wrist! We'll talk about good wear app design and best practices, how to easily extend existing notifications to wear, and finally how to make a more complex companion Wear app.If there's time, we'll talk a bit about Xamarin and Apple's new WatchKit too!

Meetup: http://www.meetup.com/London-NET-Developers-Group/events/198552342/
Code: http://git.io/QaTi2Q

Jon

December 11, 2014
Tweet

More Decks by Jon

Other Decks in Technology

Transcript

  1. Extending your existing app’s Notifications ▪ Uses Notification.WearableExtender ▪ Custom

    Backgrounds ▪ Add actions to your Notification ▪ Remote Input - Voice Input - Predefined actions • Pages • Stacking Lazy, but very effective!
  2. Sensors ▪ Use Standard Sensor API’s on Android - Accelerometer

    - Digital Compass - Gyroscope - Heart Rate Monitor - Step Counter
  3. Packaging ▪ Wear apps do not exist on their own

    ▪ Embedded inside ‘Companion’ apps ▪ Signed with same keystore ▪ Wear app’s .APK file embedded as Asset ▪ Resource XML points to .APK
  4. Custom Watch Faces ▪ Wallpaper Service ▪ OnDraw (Canvas) ▪

    Still an embedded app ▪ Ambient Mode / Visibility changes
  5. ▪ WatchKit Extension ▪ Runs on Phone
 ▪ Storyboard /

    UI ▪ Published to Watch Architecture Xamarin Support coming soon!