Your SlideShare is downloading. ×
0
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
How do you_honeycomb_android_for_tablets
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

How do you_honeycomb_android_for_tablets

1,772

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".

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,772
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
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

Transcript

  • 1. How do you Honeycomb? Android for Tablets Sparky Rhode Android Developer Relations
  • 2. What is a Tablet?
  • 3. Compared to...Phone PC a tablet is more... Powerful Convenient Discoverable Personal Fun Immersive
  • 4. UX Guidance More context More discoverable Fewer touches Rich content Fun transitions
  • 5. New for Honeycomb Fragments Action Bar Drag and Drop Extended Widgets Rich Notifications Holo Theme System Bar RenderScript
  • 6. Rethinking UX Options menu Action bar Forced orientation Rotation agnostic Long press Drag and drop Static keys System bar
  • 7. Well, thats just ducky.Now how do I do it?
  • 8. Android 3.0 SDKhttp://developer.android.com/sdk/android-3.0.htmlAPI Level: 11SDK Tools: r10
  • 9. Holographic Theme<manifest ... > <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="11" /> <application ... > ... <application></manifest>
  • 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. Tablet Layout Extra-large Landscaperes/layout-land/res/layout-xlarge-land/res/layout-xlarge-port/
  • 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. 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. Compatibility LibraryAndroid OS 1.6 (SDK 4) and higher
  • 15. Extra Credit Enhanced Widgets Rich Notifications Property animation Hardware acceleration RenderScript
  • 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. Q&A

×