ie8 fix
madison

Android 3 Honeycomb: Why this changes everything (and nothing)

By | January 27, 2011, 9:53am PST

Summary: The new Android 3.0 (Honeycomb) release is designed from the ground up for tablets, but that doesn’t mean it will leave smartphones and other devices behind.

A preview of Android 3.0 (Honeycomb) has finally been released. Developers can download the new platform and updated SDK tools and play around with it before devices such as the Motorola Xoom hit the market in February.

First rumored at Google I/O 2010, and later demoed at CES, Honeycomb was designed from the ground up to support Android-based tablets. Does that mean it won’t run on smartphones too? Is it a fork, as suggested by Steven J. Vaughn-Nichols? Not according to the man behind the overhaul, Matias Duarte.

See also:

You may remember Duarte as the designer of WebOS from his days at Palm. In an interview with Engadget earlier this month, he said:

What you see in Honeycomb is absolutely the direction for Android… We have to serve all of Android’s needs. [For example,] If Android shows up on a car, you’re going to see the same kinds of improvements, the same design philosophy, the same usability improvements, the same new paradigms, new tools, they’re all going to be part of that.

Indeed, with relaxed minimum requirements on buttons and other features, Android 3 may ultimately find itself on more types of hardware than earlier versions did. And unlike previous versions, you can expect to see official Google-branded apps like GMail, Maps, and the Android Market approved for use on more of those devices.

Existing apps will work on Android 3, but the developer can take steps to make the user interface fit in with the new design. These steps range from a simple 5 minute tweak to a more significant redesign.


The first step is to update your AndroidManifest.xml file to add a line like this:

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="Honeycomb"/>

Specifying targetSdkVersion=”Honeycomb” tells Android to use the new Holographic UI theme instead of the older defaults. Once the new version of Android is finalized and goes into production you will use “10″ instead of “Honeycomb”. Specifying minSdkVersion=”7″ indicates you can run on devices that have Android 2.1 and higher. Currently that’s over 87% of all devices in the field. You can use a lower value if your app supports older versions.

Next, you can provide alternative layouts for tablet-sized screens. Android 2.3 and above supports the “xlarge” resource qualifier that is activated for tablets. Let’s say you’re writing a twitter application. On a phone you want the twitter stream to occupy the whole screen, but on a tablet you have room to show the stream side-by-side with embedded pictures or conversations or the list of people you follow. To do that, you would put one layout definition (an XML file) in the res/layout directory, and a different one in the res/layout-xlarge directory.

See: Hello, Android! for to learn more about supporting a variety of Android versions, screen resolutions, and API levels in your programs.

With the easy stuff out of the way, you can then use the new APIs in Android 3 to extend your app to take advantage of some of the new user interface paradigms. For example, you could use the brand new Fragment class to define reusable panes within your app, and you could use the new android.animation package for animating the properties of Fragments, Views, or anything else. There’s also a new 3D framework called Renderscript that lets you build 3D scenes and write OpenGL shaders in a platform-independent language. Naturally, the more Honeycomb-specific eye candy you add to your app, the harder it will be for you to back-port it to earlier versions of Android. Be sure to test on all the platforms you support, and support only the platforms you test.

With careful design your programs can look fabulous on all Android versions, screen sizes, and form factors. So in that sense, Android 3 is an evolutionary release just like Android 1.6 or 2.0 was before it. However, the new tablet focus and APIs could enable new types of apps that we haven’t seen on the platform before. You might choose to take advantage of this opportunity to create revolutionary apps that are optimized specifically for Android 3 on tablets. It’s entirely up to you.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Ed Burnette is a software industry veteran with more than 25 years of experience as a programmer, author, and speaker. He has written numerous technical articles and books, most recently "Hello, Android: Introducing Google's Mobile Development Platform" from the Pragmatic Programmers.

Disclosure

Ed Burnette

Ed Burnette is a Manager of Mobile Development at SAS. However the postings on this site are his own and do not represent the positions, strategies, or opinions of his employer.

Biography

Ed Burnette

Ed Burnette has been hooked on computers ever since he laid eyes on a TRS-80 in the local Radio Shack. Since graduating from NC State University he has programmed everything from serial device drivers and debuggers to web servers. After a delightful break working on commercial video games, Ed reluctantly returned to business software. He currently develops enterprise software for Android phones and tablets.

In his copious spare time, Ed writes and speaks about all kinds of technology and software. His most recent books include the Eclipse IDE Pocket Guide from O'Reilly and Hello, Android: Introducing Google's Mobile Development Platform from the Pragmatic Programmers.

20
Comments

Join the conversation!

Just In

RE: Android 3 Honeycomb: Why this changes everything (and nothing)
FAULKNE 13th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
I have a feeling we will see 3.0 trickle down to smaller screen-sized devices like handsets - particularly since single-core processors are still supported.
@pkajirian Agreed. And I think the new interface is gorgeous! Honeycomb will probably redefine the tablet experience.
0 Votes
+ -
On a car? Hmmmm
Dietrich T. Schmitz, ~ Your Linux Advocate 27th Jan 2011
I think we have a horse race between Android and MeeGo, Yes Ed?
0 Votes
+ -
Contributr
@Dietrich As long as I don't get a "Force close" while driving down the highway it's all good.
Wow, a nice technical article full of useful information without useless speculation! Good job.

I do too also look forward to MeeGo though. Being able to develop applications using C++/Qt makes me feel warm and fuzzy.
I would like to see Honeycomb on my Nexus One.....
0 Votes
+ -
RE: Android 3 Honeycomb: Why this changes everything (and nothing)
StupidTechZealots-23432415690276115908309621553360 28th Jan 2011
@zenwalker How about Gingerbread at least? When is that happening?
Can't wait for the Xoom to come out. Been reading about it at http://MotorolaXoomForums.com.
0 Votes
+ -
Changes nothing.
james347 1st Feb 2011
.
0 Votes
+ -
Where can I download Android 3 Honeycomb?
joshteck@... 28th Mar 2011
I have been google searching but can't find a download site. Just the SDK.
i think sonyericsson should die if my experia x10i not been able to update
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
Thanks nice info z d n e t I really liked your current article write more..let me add you to its favorite
I really enjoyed reading this post !!!have bookmarked w e b s will come back to read more.
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix