How do you_honeycomb_android_for_tablets
Upcoming SlideShare
Loading in...5
×
 

How do you_honeycomb_android_for_tablets

on

  • 2,085 views

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

Statistics

Views

Total Views
2,085
Views on SlideShare
2,084
Embed Views
1

Actions

Likes
0
Downloads
20
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

How do you_honeycomb_android_for_tablets How do you_honeycomb_android_for_tablets Presentation Transcript

  • 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 Convenient Discoverable Personal Fun Immersive
  • 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 System Bar RenderScript
  • Rethinking UX Options menu Action bar Forced orientation Rotation agnostic Long press Drag and drop Static keys System bar
  • 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" /> <application ... > ... <application></manifest>
  • 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">
  • 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/android"> <item android:id="@+id/menu_add" android:icon="@drawable/ic_menu_save" android:title="@string/menu_save" android:showAsAction="ifRoom|withText" /></menu>
  • 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); }}
  • 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/optimizing-for-3.0.htmlhttp://android-developers.blogspot.com/ Fragments For All Animation in Honeycomb Introducing Renderscript The Android 3.0 Fragments API
  • Q&A