The first step of course is to learn how to program in Java. I picked up a great e-book on the Android Market:
I can tell you that the $5 are definitely worth it; while there are a lot of free online resources, I've found this book to be very clear with good explanations of the concepts.
I've been reading it for almost a week now and trying out all the tutorials. For further tutorials I've been using the course notes from MIT OpenCourseware for Java beginners.
I can tell you that the $5 are definitely worth it; while there are a lot of free online resources, I've found this book to be very clear with good explanations of the concepts.
I've been reading it for almost a week now and trying out all the tutorials. For further tutorials I've been using the course notes from MIT OpenCourseware for Java beginners.
So far I've only built a few "Hello World" type programs and a few unit converter type programs. Most of them I run in command line (I'm using Ubuntu 10.4 but there are JDK's for all the major platforms), but the e-book gives tutorials for GUI "Hello World" programs. I've been using the two together and trying to combine the concepts to get a feeling for Java. In only a week I feel much more comfortable looking at and editing .java files.
Writing, compiling and running your programs depends on your environment, I am using OpenJDK6, but I'd suggest you go to the Sun site to get instructions specific to your system along with all the required bits and bobs to get started with the tutorials.
Still a long way to go of course, but the resources I've linked to above have been helping me a lot. If any readers can think of other good resources for the absolute beginner, stick them in the comments and I'll update this post with any I find particularly useful.
UPDATE: For those like me on Ubuntu 10.4 (Lucid) you'll need to add a source to your package manager to be able to download the Java Development Kit. The following command will add it to your sources list from the terminal:
sudo add- apt-repository "deb http:// archive. canonical. com/ lucid partner"
UPDATE: For those like me on Ubuntu 10.4 (Lucid) you'll need to add a source to your package manager to be able to download the Java Development Kit. The following command will add it to your sources list from the terminal:
sudo add-
Hey dude,
ReplyDeleteJust wanted to say I am sooo happy that you are approaching Android Developing by learning Java as a separate entity first.
I'm by no means an experienced / hardened java programmer, but if you manage to grasp the concepts of Object Oriented design and the java standards you'll easily be able to apply that to Android development which I think you'd miss if you just dove straight into Android.
Enjoy :-)
Hi,
ReplyDeleteI'm loving it so far, and I'll admit I was tempted to dive straight into Eclipse, Android plugin et al, but I've made the mistake of going straight to the goal without the basics in place before; and I don't wanna do that again!
The MIT course notes are fantastic, even just for the example programs.
Thanks for popping by again!
well.
ReplyDelete