Your SlideShare is downloading. ×
0
How do you Honeycomb?   Android for Tablets          Sparky Rhode   Android Developer Relations
What is a Tablet?
Compared to...Phone                          PC                 a tablet is                  more... Powerful             ...
UX Guidance More context More discoverable Fewer touches Rich content Fun transitions
New for Honeycomb Fragments Action Bar Drag and Drop Extended Widgets Rich Notifications                      Holo Theme  ...
Rethinking UX Options menu         Action bar Forced orientation   Rotation agnostic Long press           Drag and drop St...
Well, thats just ducky.Now how do I do it?
Android 3.0 SDKhttp://developer.android.com/sdk/android-3.0.htmlAPI Level: 11SDK Tools: r10
Holographic Theme<manifest ... >  <uses-sdk android:minSdkVersion="4"        android:targetSdkVersion="11" />  <applicatio...
Custom Themesres/values/styles.xml<style name="LightThemeSelector" parent="android:Theme.Light"></style>res/values-v11/sty...
Tablet Layout   Extra-large   Landscaperes/layout-land/res/layout-xlarge-land/res/layout-xlarge-port/
Action Bar Menu Resource<?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/andr...
Fragmentshttp://developer.android.com/guide/topics/fundamentals/fragments.htmlLayout<fragment class="com.example.android.M...
Compatibility LibraryAndroid OS 1.6 (SDK 4) and higher
Extra Credit  Enhanced Widgets  Rich Notifications  Property animation  Hardware acceleration  RenderScript
Useful URLshttp://developer.android.com/guide/practices/screens_support.htmlhttp://developer.android.com/guide/practices/o...
Q&A
Upcoming SlideShare
Loading in...5
×

How do you_honeycomb_android_for_tablets

1,782

Published on

This presentation contains a quick overview of how your Android application can access the new tablet-oriented capabilities in Android 3.0 "Honeycomb".

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

  • Be the first to like this

No Downloads
Views
Total Views
1,782
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "How do you_honeycomb_android_for_tablets"

  1. 1. How do you Honeycomb? Android for Tablets Sparky Rhode Android Developer Relations
  2. 2. What is a Tablet?
  3. 3. Compared to...Phone PC a tablet is more... Powerful Convenient Discoverable Personal Fun Immersive
  4. 4. UX Guidance More context More discoverable Fewer touches Rich content Fun transitions
  5. 5. New for Honeycomb Fragments Action Bar Drag and Drop Extended Widgets Rich Notifications Holo Theme System Bar RenderScript
  6. 6. Rethinking UX Options menu Action bar Forced orientation Rotation agnostic Long press Drag and drop Static keys System bar
  7. 7. Well, thats just ducky.Now how do I do it?
  8. 8. Android 3.0 SDKhttp://developer.android.com/sdk/android-3.0.htmlAPI Level: 11SDK Tools: r10
  9. 9. Holographic Theme<manifest ... > <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="11" /> <application ... > ... <application></manifest>
  10. 10. Custom Themesres/values/styles.xml<style name="LightThemeSelector" parent="android:Theme.Light"></style>res/values-v11/styles.xml<style name="LightThemeSelector" parent="android:Theme.Holo.Light"></style>AndroidManifest.xml<activity android:theme="@style/LightThemeSelector">
  11. 11. Tablet Layout Extra-large Landscaperes/layout-land/res/layout-xlarge-land/res/layout-xlarge-port/
  12. 12. Action Bar Menu Resource<?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/menu_add" android:icon="@drawable/ic_menu_save" android:title="@string/menu_save" android:showAsAction="ifRoom|withText" /></menu>
  13. 13. Fragmentshttp://developer.android.com/guide/topics/fundamentals/fragments.htmlLayout<fragment class="com.example.android.MyFragment"android:id="@+id/titles" android:layout_weight="1" android:layout_width="0px" android:layout_height="match_parent" />Classpublic class MyFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.my_fragment, container, false); }}
  14. 14. Compatibility LibraryAndroid OS 1.6 (SDK 4) and higher
  15. 15. Extra Credit Enhanced Widgets Rich Notifications Property animation Hardware acceleration RenderScript
  16. 16. Useful URLshttp://developer.android.com/guide/practices/screens_support.htmlhttp://developer.android.com/guide/practices/optimizing-for-3.0.htmlhttp://android-developers.blogspot.com/ Fragments For All Animation in Honeycomb Introducing Renderscript The Android 3.0 Fragments API
  17. 17. Q&A
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×