Home Features Current 10 things every Android developer needs to know - 8. OS Versions
10 things every Android developer needs to know - 8. OS Versions
Written by Carl Whalley   
Friday, 20 November 2009 09:00
Article Index
10 things every Android developer needs to know
1. Support
2. An IDE
3. Java
4. Graphic design
5. XML layouts
6. The Market
2. An IDE
8. OS Versions
9. The App Lifecycle
10. DDMS
All Pages

8. OS versions

Moving targets can be challenging.

Google has minimised the disruption caused by API changes across Android releases, and documented them very well, but there are still a few things you need to be aware of. The SDK lets you test your app on multiple platforms with its AVD (Android Virtual Device) support. You can also specify the minimum version to allow in your app descriptor file, AndroidManifest.xml. This means that when a user attempts to install your app on a device with a lower version than that which it was targeted for, they will be told immediately and they won't be able to. This is preferable to running apps on unsupported platforms as it could fail in unpredictable ways.

Android releases are named after desserts, so we had Cupcake (1.5), Donut (1.6) and Eclair (2.0), the next two are rumoured to be Flan and Gateaux - in case you hadn't spotted it, there's an alphabetic progression there ;-)

The usual rules regarding writing code for undocumented features apply, and this is much easier to do when you are dealing with a full open source system as you can see exactly what those functions are and do. Basically - avoid them! Quite a few folk got their fingers burnt when apps out there in the market targeting 1.5 started failing when the 1.6 release was rolled out to end users. There are similar reports for Droid too, which runs Android 2.0. On that point developers can fairly cry foul as none had access to Android 2.0, so there is nothing for it but to rebuild and release - but pay careful attention to those deprecation warnings.



 

Comments  

 
0 #5 cousinHub 2009-12-10 06:54
I liked this part in part 8 (OS versions):

Android releases are named after desserts, so we had Cupcake (1.5), Donut (1.6) and Eclair (2.0), the next two are rumoured to be Flan and Gateaux - in case you hadn't spotted it, there's an alphabetic progression there
Quote
 
 
0 #4 Robert Lilly 2009-12-09 16:26
Awesome article. Now I'm really glad I learned to develop on Android for my augmented reality app instead of some other mobile system. And today I'm going to an interview for an Android developer position.
Quote
 
 
0 #3 Matt Kanninen 2009-12-04 01:32
Preach it brother!
Quote
 
 
0 #2 André 2009-11-24 06:31
Thanks for this article :) I'm sure this will help a lot of Android fans to start their own little project.

For graphics I'm a fan of Inkscape now. It's an awesome piece of software. Especially for doing games and similar stuff. All graphics of my own game Puzzle Blox have been created with Inkscape. Thumbs up!
Quote
 
 
+2 #1 Jeff Watson 2009-11-20 22:10
Great article. I found item #8 Dalvik Debug Monitor Server very useful!
Quote
 

Add comment


Security code
Refresh


Copyright © 2010 Android Academy. All Rights Reserved. Privacy statement. Sitemap.
Android Academy is not associated with Google in any way. All trademarks acknowledged.