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

Android-Developing for wearable devices

Android-Developing for wearable devices

DaFED #23
Speaker: Goran Đonović, Execom
Vraćamo DaFED korenima i pokrećemo diskusiju o razvoju aplikacija za nosive uređaje. Analiziramo kôd Android Wear i Sony Smart Watch 2 aplikacija. Pričamo o izazovima koje ove tehnologije donose dizajnerima i programerima. Diskutujemo o dobrim praksama, najavljenim uređajima, globalnim trendovima i prilikama koje se pružaju.

DaFED

July 02, 2014
Tweet

More Decks by DaFED

Other Decks in Programming

Transcript

  1. Android - Developing for wearable devices 2. jul 2014. 18

    do 22h Amfiteatar na SPENSu (Sutjeska 2) Goran Đonović
  2. Feel free to keep in touch #develor #android #windowsphone #phonegap

    #js #lecturer #MSP #.NETdev #student #javadev #MDD Goran Đonović Goša @gdjonovic djonovic.g rs.linkedin.com/in/gdjonovic
  3. Agenda - Current device overview - Explain wearables concept -

    Discuss design and programming challenges - How to get started (Android Wear) - How to get started (Sony Smartwatch 2) - Code walk through & Demo
  4. The F word (fragmentation :)) Moto 360 & GWatch Smartwatch

    2 Galaxy Gear 2 Toq Pebble TrueSmart HOTWatch Will.I.AM :) A.I. watch Archos Kreyos Meteor Burg Smartwatch
  5. The idea of a smart watches I’m on my way

    Old idea Existing technology The biggest thing after smartphone
  6. Design principles • Do not block the user • Design

    for big gestures • Stream cards first • One thing, really fast • For the corner of the eye • Don't be a pusher
  7. Programming for wearables - Developing - Same old same old

    - Optimizing communication - Send notification - Receive commands - Retrieve sensor data
  8. What you can’t do (Android Wear) • android.webkit • android.print

    • android.app.backup • android.appwidget • android.hardware.usb
  9. How does it work • Bluetooth sockets • Process messages

    • System notification Notification (With registered listeners) • google.code.android.clockwork.node • mico.protobuf nano.protobuf • 4 API Intents and Content provider (Sony)
  10. Setup • Join the Preview Group • Google Play services

    • Google Search • Android Wear Companion • Go to developer.android
  11. Setup - Create emulator - Pair emulator with device (adb

    -d forward tcp:5601 tcp:5601) - Use NotificationCompat.Builder (Build, Add, Stack) - Use RemoteInput - Wearable Data Layer
  12. Q&A