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

[Murat Yener] L(e) Android: The whole android ecosystem experience with wear and glass

[Murat Yener] L(e) Android: The whole android ecosystem experience with wear and glass

Presentation from GDG DevFest - the biggest Google related event in Ukraine. October 24-25, Lviv. Learn more at http://devfest.gdg.org.ua/

Google Developers Group Lviv

October 25, 2014
Tweet

More Decks by Google Developers Group Lviv

Other Decks in Programming

Transcript

  1. Soo, who am I?!? Java, Web, Mobile, GWT, Flex Developer

    Android Developer at Intel Eclipse Comitter Book Author (Pro Java EE Design Patterns GDG Istanbul Organizer Conference Speaker (JavaOne, Devoxx, EclipseCon..)
  2. MORE - Professional Keynote Template 3 Soo, what’s new?? better

    OS? better UI/UX? faster VM? better tools? new nexus devices? there is more than that!!!
  3. 5 Phones and Tablets State of ART VM 1 2

    3 Greener Droid Getting Professional Material Design
  4. 6 Material Design -Bold graphics -Flat but layered design -Animations

    with mass and weight -Responsive interaction -Surface reaction -Transitions -Style, Typography, Icons… -New structure and layout principles better UI and UX…
  5. 10 Google Glass - GDK Android Developer? - No touch

    screen - Limited CPU and Battery - Actions! (Take a photo, Start a run…) - Simple Flow - Less interaction
  6. 11 Google Glass - GDK WAKE 1 2 ACTION 3

    CARDS 4 2nd ACTION 5 SLEEP
  7. 13 Google Glass - Glassware Web Developer? - Similar OAuth

    Web app - but very small screen - don’t try to render a whole web page - Java, Python starter apps…
  8. 14 Google Glass - Glassmaker or GlassMaker - eclipse based

    - open source - Spring Security - Card Templates - Emulator (hey its web!!) - Remote deploy to Glass (YES!!)
  9. 17

  10. 18 Android Wear - Still need phone? - Replaces the

    phone? - Uses bluetooth, will my phone battery die? - Phone calls? - More data?
  11. 26 Android Wear -Development dependencies { compile fileTree(dir: 'libs', include:

    ['*.jar']) compile 'com.google.android.support:wearable:+' compile 'com.google.android.gms:play-services-wearable:+' } 1
  12. 27 Android Wear -Development 2 <activity android:name="MyNoteActivity"> <intent-filter> <action android:name="android.intent.action.SEND"

    /> <category android:name="com.google.android.voicesearch.SELF_NOTE" /> </intent-filter> </activity>
  13. 28 private void displaySpeechRecognizer() { Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);

    intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); startActivityForResult(intent, SPEECH_REQUEST_CODE); } Android Wear -Development 3
  14. 29 Android Wear -Development 4 // Build the notification and

    add the action via WearableExtender Notification notification = new NotificationCompat.Builder(mContext) .setSmallIcon(R.drawable.ic_message) .setContentTitle(getString(R.string.title)) .setContentText(getString(R.string.content)) .extend(new WearableExtender().addAction(action)) .build();
  15. 30 Android Wear -Development 5 Manifest: <intent-filter> <action android:name="android.intent.action.MAIN" />

    <category android:name="com.google.android.clockwork.home.category.HOME_BACKGROUND" /> </intent-filter> Activity: final WatchViewStub stub = (WatchViewStub) findViewById(R.id.watch_view_stub); … intentFilter.addAction(Intent.ACTION_TIME_CHANGED); … private BroadcastReceiver mTimeInfoReceiver = new BroadcastReceiver(){ @Override public void onReceive(Context arg0, Intent intent) { mTime.setText(Calendar.getInstance().getTime()); } }
  16. 31 Android TV - History Google TV Nexus Q Initial

    version. Google TV devices were released from Logitech and Sony. Not gained much popularity. I/O prototype. Very high quality built but no one really understand what it is for. IMAGE IMAGE
  17. 32 Android TV - A New Hope? Released in I/O

    14 - a new better iteration - sleek UI, new but familiar UX - gamepad+++ - not much titles - - - - movies? music?
  18. 33 Nexus Player Commercial version of Android TV - will

    encourage more apps - more fun than Apple TV - Screen casting, games, movies?…
  19. 34 Nexus Player - Development - a whole new world??

    - no touchscreen - support voice commands but?!? - physical gamepad! - Case Study: Asphalt
  20. 35 Nexus Player - Development - most phone layouts and

    assets will work - controls? a whole new world - separate UI and controls - reuse as much - still early but promising
  21. 36 Android Auto Is it too early? - a long

    list of car manufacturers - powered by your android device - car system hosts UI/UX - not much additional hardware - guaranteed to have 3G, wifi, bluetooth..
  22. 37 whole new UX?!? - similar to watch, minimal interaction

    - more screen but keep text readable - hands free! use voice - do not spam the user! ask if he/ she cares Android Auto - The Road Ahead
  23. 38 Out In games! video streaming rich UI user interaction

    typing! reading connectivity?!? Android Auto maps! poi based search audio streaming simple UI less interaction voice audio feedback car integration! (economy, stats…)