
Train with a trainee: Android app development from the ground up: Week 1
First and foremost, and I can’t stress this enough, I am not a developer. I want to be though and that’s what counts. If any of the information provided in this 12 week series is incorrect or can be made simpler, please let me know. Like many of you, I have spent hours, days and weeks reading and learning from various websites. The information is out there but sadly as with all things in the web is not very streamlined. I signed up for a 12 week online training course that will walk us through everything we will need to know about building Android applications from the ground up. I thought it would be a good idea to share with you all this process as I learn it. For a noob, like myself, all this information should be very helpful. For a seasoned vet, correct any mistakes I share and who knows maybe I’ll put something up that you didn’t know. If you wish to follow along, be my guest, they will be put out every week and updates will be sent out via @AndroidSPIN and @openandroidmove on twitter. You can also find the whole series HERE in our Forums and will be updated with each week as well. Here is how I plan to approach this for everyone. Each week of training has 4 to 5 sections in it. I will create a post for each section unless they overlap and need to be put into one post. Feel free to ask questions and Google anything you would like. As I said I am not a developer nor do I claim to be. You will be reading and learning what I am being taught. Here’s what we will be learning this week: Introduction to Android and Java.
(1) Installing Android
(2) Creating Hello World
(3) Running on Emulator
(4) Introduction to Java Data types, Loops, Conditionals and Operators
For this article we are just going to focus on the first part, (1) Installing Android.
Many of you may have already gone through these steps when attempting to learn from other sites. I know I did. So what I did was uninstalled everything and started at ground zero so I could follow this training class to the letter. If you already have all these steps completed then you can skip this part. Let’s get started!
We will need java to run an Android development environment. Download the latest JDK available for download for Android. You can find that here http://www.java.com/en/download/index.jsp. Once that has been downloaded and installed we move on to the next program.
We need to install Eclipse. Eclipse is the official IDE for Android. The version you will want to download is ‘Eclipse IDE for Java Developers’ get that download from herehttp://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/galileosr2 Once the file is complete you will need to open it up. The file comes in a .zip format so open the .zip file using your favorite application (I use winzip) and then place the folder on your desktop for right now to make everything easy to find.

Last thing we need is the Android SDK. You can get that here http://d.android.com/sdk/index.html Of course it is in a .zip file again so extract it to your desktop like we did with the Eclipse Folder. Once you have that file you will open it up and run SDKmanager.exe application. A window will appear asking what packages you wish to install. For safety and because I don’t know any better, just select ALL and let it download everything available. This will take some time to get all the install files in. It took me roughly 20 minutes for it to complete.
We now have all the software needed to get started on building applications. We just need to set it all up so it’s ready for work.
In order to use Eclipse we need the Android Development Kit (ADK). This is really simple to install, Open Eclipse and select HELP scroll down towards the bottom and select INSTALL NEW SOFTWARE. Click on ADD SITE button and paste this https://dl-ssl.google.com/android/eclipse/ You will see Developer Tools pop up in the name section, check the box then hit next. Follow the screen prompts and accept the terms and condition. It will then install the ADK for you then you will be prompted to restart Eclipse.


Congratulations. You have now set up your android developer tools and programs.
In the next article we will walk through creating the HelloWorld application and setting up the Emulator.








Amazing, I will be following along as well. I just started going through this myself last week.
Dont forget these posts will be in our forums to it can be found at http://forum.androidspin.com/forumdisplay.php?f=1951 bring questions and everyone you can to it. the more the merrier. It will help us all learn together.
are going to need previous experiance in code or java to do future steps?
Fortunately no. This class is going to walk us through step by step. I know nothing about coding. The 4th part of this weeks class is a small introduction to JAVA.
Great article, Stormy! Regarding the Java question, It entirely depends on what you are trying to build. For some of the more complicated apps, you will need to code using Java, but Google’s App builder is a very easy way to get started developing your own apps without any programming experience.
Yes it is.. I have played around in that program a little. I think that will be the next thing to showcase and train on. never hurts to start learning code to though.
This will hopefully be the first of many articles dedicated to learning Android development. Awesome job Stormy.
If you are running ubuntu or linux here is a good guide how to set it up in linux: http://onthefencedevelopment.com/?p=455
Thank you very much for that link. i didn’t want to get to crazy and confusing with many different OS. Im fairly sure that most everything will be similar after the applications are set up correct.. am I right?
androidspin your the best!!!!!!!!!! question why does java says error loading preferences???
That a good question.. when are you getting this error? what OS are you on?
i’m running windows 7 home premium 64-bit. i’ve uninstall and reinstalled but still same error. thanx for the help!!
i’m running windows 7 home premium 64-bit. i’ve uninstall and reinstalled but still same error. thanx for the help!!
I wonder if the Java download is 32 bit? Or you might already have the latest Java updates and not need that download.
could be that… i’ll check. plus how do i check? when i open sdk manger, everything is ok. then I go to virtual devices, ok as well. choose then start the emulator then the java windows pops up normally but it says only error loading preferences. android emulator starts to work within 6 mins…. THAT JAVA ERROR IS BUGGING ME!!!!! THANX!
[...] Installing Android – Completed HERE (2) Creating Hello World – Completed HERE (3) Running on Emulator - Completed HERE (4) [...]
[...] Installing Android – Completed HERE (2) Creating Hello World – Completed HERE (3) Running on Emulator - Completed HERE (4) [...]
I’m not showing the SDKs at the last step.. Win7x64
I’m not showing the SDKs at the last step.. Win7x64
feel free to hit me up on GTalk at beachfamilymail@gmail.com and we will see what we can do to help you out with that. I am on Win7 32bit.. so a little different
Apologize for the late response. I figured out I didn’t install the SDKManager.exe. Please disregard. Thanks for your help!
Thank you so much for this…thank you times ten!
What about using Macbook pro for this? I can’t find the ADK, I just get SDK from your list. Also, there seems to be no ‘help’ button once it’s downloaded in order to install it on Eclipse. HElp!
What about using Macbook pro for this? I can’t find the ADK, I just get SDK from your list. Also, there seems to be no ‘help’ button once it’s downloaded in order to install it on Eclipse. HElp!
Very nice article. I can install it smoothly. Thank you