Your SlideShare is downloading. ×
0
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Google I/O 2011, Android Honeycomb Highlights
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Google I/O 2011, Android Honeycomb Highlights

8,181

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,181
On Slideshare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
132
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Romain + Chet\nShow home screen, launcher, basic UI\nDemos of honeycomb apps: gmail, contacts, books, music, etc.\nWidgets: show widget list, show bookmarks, books, youtube, calendar, gmail, ...\n(choreograph)\n
  • \n
  • \n
  • Larger devices may be able to fit what might otherwise be multiple activities\n
  • One activity, single layout with both fragments\n
  • two activities, each with fragment\n
  • \n
  • Buttons: Home, back, Recent apps\nNotifications\nCustomized notifications with Notification.Builder\n
  • Buttons: Home, back, Recent apps\nNotifications\nCustomized notifications with Notification.Builder\n
  • Buttons: Home, back, Recent apps\nNotifications\nCustomized notifications with Notification.Builder\n
  • Buttons: Home, back, Recent apps\nNotifications\nCustomized notifications with Notification.Builder\n
  • Lights-out\n
  • Lights-out\n
  • Lights-out\n
  • Lights-out\n
  • Lights-out\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • view properties: cheap to change transform/alpha properties with layers or display lists\n
  • Romain (photo app) + Chet (API demos)\nPhoto app: animation and hardware support for layers\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • USB: New USB stack for arbitrary device handling, new input events for keyboards and pointers\nCamera: MTP Media Transfer Protocol API for device detection and storage\nWigets: resizable by users, attribute flag in widget declaration\nRTP: Real Time Protocol, for audio streaming, VOIP, conferencing\nOptimizations: more Framework stuff to make rendering faster\n
  • USB: New USB stack for arbitrary device handling, new input events for keyboards and pointers\nCamera: MTP Media Transfer Protocol API for device detection and storage\nWigets: resizable by users, attribute flag in widget declaration\nRTP: Real Time Protocol, for audio streaming, VOIP, conferencing\nOptimizations: more Framework stuff to make rendering faster\n
  • USB: New USB stack for arbitrary device handling, new input events for keyboards and pointers\nCamera: MTP Media Transfer Protocol API for device detection and storage\nWigets: resizable by users, attribute flag in widget declaration\nRTP: Real Time Protocol, for audio streaming, VOIP, conferencing\nOptimizations: more Framework stuff to make rendering faster\n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. Honeycomb HighlightsRomain Guy @romainguyChet Haase @chethaaseMay 10, 2011Questions http://goo.gl/mod/8NZpFeedback http://goo.gl/hD5M9Hashtags #io2011, #Android
    • 2. Honeycomb Highlights Honeycomb and Get ItRomain Guy @romainguyChet Haase @chethaaseMay 10, 2011Questions http://goo.gl/mod/8NZpFeedback http://goo.gl/hD5M9Hashtags #io2011, #Android
    • 3. Honeycomb• The tablet release• User improvements• Developer improvements
    • 4. The Tablet Release• Tablet != Phone• Screen size• Input• More memory, faster CPU, multi-core – But more pixels...• GPU!
    • 5. Honeycomb• The tablet release• User improvements• Developer improvements
    • 6. UI Improvements• Home screen, new ‘Holo’ theme• Keyboard• Text selection• USB device connectivity• Action Bar, System Bar• Recent Apps
    • 7. New and Improved Applications• New – Books – Movie Studio• Improved – Market – Browser – Contacts – Music – Gmail – ...
    • 8. New Widgets• Richer• More interactive• Books, Bookmarks, Gmail, Calendar, ...
    • 9. Demo
    • 10. Honeycomb• The tablet release• User improvements• Developer improvements
    • 11. Fragments• Like mini-activities• For flexible screen format situations – landscape vs. portrait – large vs. small
    • 12. Fragments
    • 13. Fragments• Single activity, multiple fragments
    • 14. Fragments• Separate activities
    • 15. Fragments: For More Info• Read Dianne Hackborn’s The Android 3.0 Fragments API – android-developers.blogspot.com• Get “Android Compatibility package” in the SDK Updater – Fragments now available in 1.6+ !!!!
    • 16. System Bar
    • 17. System Bar
    • 18. System Bar
    • 19. System Bar
    • 20. System Bar: Always On
    • 21. System Bar: Always On
    • 22. Action BarHome/Up Navigation Actions Text Actions
    • 23. Action BarHome/Up Navigation Actions Overflow Text Actions
    • 24. Action BarHome/Up Navigation Actions Text Actions
    • 25. Action Bar Contextual ActionBar Text Actions
    • 26. Action Bar @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.actions, menu); return true; }
    • 27. Action Bar <menu> <item android:id="@+id/action_edit" android:icon="@android:drawable/ic_menu_edit" android:showAsAction="always" android:title="@string/action_bar_edit" /> <item android:id="@+id/action_share" android:icon="@android:drawable/ic_menu_share" android:showAsAction="ifRoom" android:title="@string/action_bar_share" /> </menu>
    • 28. Action Bar <menu> <item android:id="@+id/action_edit" android:icon="@android:drawable/ic_menu_edit" android:showAsAction="always" android:title="@string/action_bar_edit" /> <item android:id="@+id/action_share" android:icon="@android:drawable/ic_menu_share" android:showAsAction="ifRoom" android:title="@string/action_bar_share" /> </menu>
    • 29. Renderscript• Native code for fast graphics, computation• Platform-independent• Syntax based on C99• Uses GPU, CPU, multi-core• Used in Books, YouTube, Live Wallpapers
    • 30. Renderscript: HelloWorldRS.java public class HelloWorldRS { private ScriptC_helloworld mScript; public void init(RenderScriptGL rs, Resources res) { mScript = new ScriptC_helloworld(rs, res, R.raw.helloworld); rs.bindRootScript(mScript); } public void onActionDown(int x, int y) { mScript.set_gTouchX(x); mScript.set_gTouchY(y); } }
    • 31. Renderscript: helloworld.rs int gTouchX; int gTouchY; void init() { gTouchX = 50.0f; gTouchY = 50.0f; } int root(int launchID) { rsgClearColor(0.0f, 0.0f, 0.0f, 0.0f); rsgFontColor(1.0f, 1.0f, 1.0f, 1.0f); rsgDrawText("Hello World!", gTouchX, gTouchY); return 20; }
    • 32. Renderscript• Read Jason Sams’s Renderscript articles – android-developers.blogspot.com• Play with the SDK Renderscript samples
    • 33. Graphics Acceleration• OpenGL acceleration for most graphics operations – Canvas.drawLine(), Canvas.drawBitmap(), ...• Used in Launcher, Gmail, Contacts, Calendar, YouTube, Browser, Maps, Settings, ...
    • 34. Acceleration: The Complex API Details
    • 35. Acceleration: The Complex API Details <application android:hardwareAccelerated=”true”>
    • 36. Acceleration: The Complex API Details <application android:hardwareAccelerated=”true”> • Opt-in via AndroidManifest.xml • Selectively disable at Activity, Window, or View level
    • 37. More Details• Come to Accelerated Android Rendering – Tomorrow 10:45• Read Android 3.0 Hardware Acceleration – android-developers.blogspot.com
    • 38. Animation Framework• New system built on “property animation” – Any object, any property, any type• New properties on View – alpha, translationX/Y, scaleX/Y, rotation, ...
    • 39. Animation Framework• New system built on “property animation” – Any object, any property, any type• New properties on View – alpha, translationX/Y, scaleX/Y, rotation, ...ObjectAnimator.ofFloat(target, “alpha”, 0f).start();
    • 40. Demo
    • 41. PhotoAlbum Animations if (mPanelVisible) { mPanelAnimator = ObjectAnimator.ofFloat(mPanel, "x", 0.0f); } else { mPanelAnimator = ObjectAnimator.ofFloat(mPanel, "x", -mPanel.getWidth()); } mPanelAnimator.start();
    • 42. PhotoAlbum Animations mPanel.setLayerType(View.LAYER_TYPE_HARDWARE, null); if (mPanelVisible) { mPanelAnimator = ObjectAnimator.ofFloat(mPanel, "x", 0.0f); } else { mPanelAnimator = ObjectAnimator.ofFloat(mPanel, "x", -mPanel.getWidth()); } mPanelAnimator.start(); mPanelAnimator.addListener(new AnimatorListenerAdapter() { @Override public void onAnimationEnd(Animator animation) { mPanel.setLayerType(View.LAYER_TYPE_NONE, null); } });
    • 43. PhotoAlbum Animations if (mPanelAnimator != null && mPanelAnimator.isRunning()) { mPanelAnimator.reverse(); return; } mPanel.setLayerType(View.LAYER_TYPE_HARDWARE, null); if (mPanelVisible) { mPanelAnimator = ObjectAnimator.ofFloat(mPanel, "x", 0.0f); } else { mPanelAnimator = ObjectAnimator.ofFloat(mPanel, "x", -mPanel.getWidth()); } mPanelAnimator.start(); mPanelAnimator.addListener(new AnimatorListenerAdapter() { @Override public void onAnimationEnd(Animator animation) { mPanel.setLayerType(View.LAYER_TYPE_NONE, null); } });
    • 44. For More Information• Read Animation in Honeycomb – android-developers.blogspot.com• Check out the animation demos in the SDK
    • 45. And Much, Much More...• Clipboard• Drag and Drop• HTTP Live Streaming• Pluggable DRM framework• Encrypted storage• New/improved components – DatePicker, NumberPicker, StackView, CalendarView, ...• Tools – UI Builder, code completion, ... – Android Development Tools, Wednesday@3
    • 46. More in Android 3
    • 47. More in Android 3.1 NeUSB: Beyond keyboards w !External camera support Resizable widgets RTP APIPerformance optimizations ViewPropertyAnimator
    • 48. The Future• Honeycomb was optimized for tablets – But we’re working on bringing the Honeycomb UI and functionality to smaller screen devices• More, better, fancier, faster, lovelier
    • 49. For More Information• At Google IO – Android USB Accessory Mode: Tuesday 1:15 – Fireside Chat: Tuesday 2:30 – Android UIs for Phones and Tablets: Wednesday 12:30 – Android Development Tools: Wednesday 3:00 – Memory Management for Android Apps: Wednesday 4:15• After Google IO – Android Developers Blog: android-developers.blogspot.com – Romain’s blog: curious-creature.org – Chet’s blog: graphics-geek.blogspot.com
    • 50. Questions http://goo.gl/mod/8NZpQ&A Feedback http://goo.gl/hD5M9 Hashtags #io2011, #Android

    ×