Tutorials
Hands-on experience with Android
Where appropriate, the tutorials come with the source, javadoc documentation, project settings for Eclipse and the Android installable APK files for download. You'll also find them in the Android Market - just search for "Android Academy". This is done because some carriers only allow apps to be installed from the market, to enable alerts when there are updates and to allow the Market to filter out apps which won't run on incompatible handsets.
The projects use the Eclipse IDE. Since they all follow the standard Android layout they shouldn't be too difficult to use in other development environments.
If you are browsing now on an Android device you can install the Apps directly by selecting the download APK link and following your devices instructions. Note your handset may be set to disallow apps from non-market locations to be installed, so ensure Settings | Applications | "Unknown sources" is enabled.
Please feel free to use the comments feature for any tips, questions or feedback.
|
Tutorials -
Hands on
|
|
Tuesday, 10 February 2009 00:00 |
So you've written, tested and debugged your killer Android app and now want to share it with the world! Your project creates the file to install - the APK Android installable one - but that's not the full story. You can't distribute it unless its been signed, a security measure enforced on anyone distributing Android apps. The good news is it's nothing like as difficult as in the bad old days of J2ME, where you had to worry about the different levels of security, obtain certificates from third parties then send your app off for resigning every build. In this tutorial we show you how to do that yourself as well as give you a little present: an all-in-1 tool to automate it all!
|
|
|
Tutorials -
Hands on
|
|
Thursday, 22 January 2009 00:00 |
|
We'll again build on the work in the previous threading tutorials but this time make the application more real world by splitting the threads off into their own classes. We do this to make them more manageable, and we'll add another background thread to make the planets spin around behind all the counters.
|
|
Tutorials -
Hands on
|
|
Wednesday, 26 November 2008 00:00 |
|
Following on from part 1, where we showed screens which updated only on finger press events, its time to get dynamic. We'll build on the first tutorial and make the numbers spin up all the time. This is a little more complex because it introduces a fundamental rule regarding threading on Android - one which was smartly side-stepped in part 1.
|
|
Tutorials -
Hands on
|
|
Monday, 03 November 2008 00:00 |
|
At their heart, computers are pretty simple beasts: they only do what you tell them to. Sometimes though, it looks like they are responding to events being fired from all directions at once. Well, thats because they've been told how to deal with those "random" events by interrupting the current flow. In Android a mechanism for this is called the Message Handling System. It's a way of writing software that can be interrupted at any time by predefined messages. These messages are generated by real world events like timers firing or the keyboard being opened, so here's an Android application to illustrate it.
|
|
Tutorials -
Hands on
|
|
Thursday, 16 October 2008 20:17 |
When your application is running, how can you tell exactly what it's doing at any time? After it has finished, how can you tell what it did during the run? If you are hunting down elusive bugs, you need all the tools you can get, and right up there with the interactive debugger is the logger. Google realise its importance and have done the one in the Android Eclipse plug-in sufficient justice. We will show how to set up our application for logging, perform some test runs and further refine our logging system to cut out the noise and focus on only the areas of our application we are interested in.
|
|
|
|
|
|
|
Page 2 of 2 |