Teaching Android

Posted: November 13, 2010 in Android, Mobile
Tags: ,
Android robot logo.
Image via Wikipedia

With Packt Publishing attempting to recruit me as an android 3.0 development book author and an android training opportunity position opening up in downtown Chicago, I once again have the opportunity to think about how android development should be taught in class form and book form.

Its not that there are not stellar resources already out there such as Mark Murphy’s, etc.  Its how do you reach the maximum audience about the power of this new mobile platform through developing code in java/C++ and js/html/css.

First, mobile programming is different. Some of the differences is that its a casual application that does not operate or run-all-the-time. Its security context is around both user authentication within the mobile operator system and the google user system. Its not big screens like the server or desktop.

There are also other differences as well in that not every member of the audience is java programmer as many web programmers are switching to android not just the PhoneGap applications but also the more heavy duty in CPU cycles applications such as games, etc. My respectful disagreement with Markana Inc. was that there is enough basic java patterns in android java programming itself that one could use the android device to teach java.

In android java we use a modified mobile definition of singleton from the javaME area. That theory of why we use it is still valid java programming technique. The android mobile platform uses callbacks. the callback pattern is of course acting as a program pointer, something in java we do not have at the moment. The same pattern and theory are found in complex java systems on the enterprise side.

There are also such things as teaching the development process such as debugging, unit-testing, BDD and TDD, and of course best practices in dealing OEM-device-differentiation(press calls it android fragmentation). Than we have the subject of adding a native library to extend android to be able to use in an application.

Hopefully I get an opportunity to explore these subjects shortly.

Enhanced by Zemanta
  1. Could be really interesting. I think teaching the Activity lifecycle in detail would benefit any new Android developer. Also showing the more interesting APIs would make it fun to learn too. Good luck.

  2. […] Teaching Android (mobilebytes.wordpress.com) […]

  3. Android says:

    Fine app for android thanks for the tip I am already experimenting in my android and perfect
    a work in very nice.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s