How To Set up Android SDK for App Development?

Android App Development
Alright, so who's in the mood for a little Android App development? I know, I know, that's not something you can suddenly 'do' when the mood strikes you (well, maybe not for the beginners anyways). But don't worry, it's not as hard as you might think. After all, you have to start from the beginning at one point, no? One of the best thing I like about Android is the ease of development. And that includes getting the required tools, and setting them up, ready for development. Since this is the first post on the subject, that's just we're going to talk about - getting, and setting up the Android SDK for app development. Starting from the very beginning of Android App Development!
We are excited to kick off yet another series, this time on developing Android applications, and I hope you are too. We figured a change of pace was in order, since every now and then, we like to share something new and exciting with our readers. So I am sure our readers would be interested in learning to create Android apps of their own!

In this series so far;

Part 1: How To Set up Android SDK for App Development?
Part 2: Creating your First "Hello World" Android App
Part 3: In progress...

Getting the Android SDK

Previously, when we were working on older versions of Android, putting the SDK together was a bit of a mess. You had to install Java, get the Eclipse IDE, install the JDK, and then download the various APIs (Android Versions) you want to test your apps on once finished. Now though, there's a much better solution.

You can now get the all-in-one ADT (Android Developer Tools) Bundle free from the Android Developers' website. It is a convenient package that contains all the thing you'll need to build your own apps. Follow the link below to download the SDK.


Click the Download the SDK button at the right, and choose your download options to download the bundle for free.

Once the zip file is downloaded, extract it, and then place the extracted folder in a convenient location. And that's it! Your Android SDK is ready to go! It doesn't even need an install! You just need to have java installed on your computer. You can get that from java.oracle.com.

Getting Started

In the extracted folder, you will see a folder named eclipse. Open up that folder, and then open eclipse.exe. You have now started the IDE, and you're now ready to code! But before we move on to that, let me quickly walk you through the interface.

When you open it up, it might look something like this.


Well, not quite like it, because I already have made a small app for the purpose of this demonstration. But the basic interface will look the same.

Towards the left side is the Package Explorer. You can track your projects in this window, and also keep track of all the files and resources in your project. It'll give you quick access.

Down below where you see Problems, Javadoc etc, that's your multi-purpose output window. You can view warnings or errors here, and other message. It can also be used to show your program's output, since it is a native Java compiler.

On the left you have the properties window. You will see attributes for your User-Interface objects here. For example, you will see the background color, ID, text, etc of a button on your screen. Remember: You can move any of these windows around, and dock them wherever you like. Now let's take a look at the inner window.


Now, on the top, you have the file tabs. You can switch between different open files in your project easily. On the left (Form Widgets, Text Fields etc), are the different objects you can use in the drag-and-drop interface. You can use these tools to visually design your app. Note that this is only available if you have a layout XML file open. If you go over to a java file, these will disappear, and you'll see a bunch of code instead.

Another thing of note is the Device Selector. See the Nexus One written on the top? You can change that to another device from the drop-down menu. This tool will let you see how your app will look on a certain device.

While we're on the subject of devices, let me show you the Android Emulator before signing off.

Go to Window on the top, and then click on Android Virtual Device Manager. Now, click on New to create a new test platform.


Now, choose a name for your virtual device as I have done, choose a device, and then choose an API (Android version you want to run). Assign RAM and storage as needed, and then Click on either the Snapshot or the Use Host GPU option. Since the virtual device takes some time loading up, the Snapshot option can help you start it up quickly every time by saving a snapshot of your last AVD position. Hence, this option is recommended.

Now hit Ok, and then Start. Voila! You can now see the Android Emulator start up on your computer after a couple minutes, just like the Android smartphone you (might) have.


We will be using this virtual emulator to test our Android app(s). But that's a topic for another post. Right now, feel free to look around the IDE interface, and familiarize yourself with it. Our next entry will be about creating your first simple "Hello World" Android App. Stay tuned :)

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

22 comments

PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with 'Links' will be deleted immediately upon our review.
  1. A great article like always. I appreciate the time and effort you put into each article

    ReplyDelete
    Replies
    1. Nice article, myself is also preparing for android tutorials on my blog :)

      Tech Geekr

      Delete
    2. Article is informative thanks to share it with us...
      Android app developers

      Delete
  2. Loving Post i have personally used such software and making the same program in JAVA. I have also practiced the same program in JAVA. thanks Qasim bro.

    ReplyDelete
  3. Great Article, But we can also Try AppsGeyser for creating some kinds of Android Apps for Free. Thanks Great Info.

    Regards.
    http://www.trickshut.com/

    ReplyDelete
  4. Although I am still new with android but i found it easy by reading this article. Thanks Bro.

    Regards

    Bloggingtipsandtrix.blogspot.com

    ReplyDelete
  5. That was pretty awesome. Always we learn something new here at MBT.
    Regards
    Tharun
    www.bloggerbulk.com

    ReplyDelete
  6. hello, is there any way to open blogger popular posts thumbnails in same window ?

    ReplyDelete
  7. Hey Qasim,
    I just started my Android web development course today buddy and amazingly, I have found things at home only :D


    Waiting for what you will be sharing after the 'Hello World' app.

    Already done with it actually! :)
    More power Brother,

    ReplyDelete
  8. Hi Qasim,
    I learn a lot from this post and waiting for other two which also bring some fruitful results for me. Thanks for sharing such a post.

    ReplyDelete
  9. For Free Games And Software With Direct Download
    http://shirazshakeel.blogspot.com/
    For Free Blogger Tips n Tricks
    http://cloudspedia.blogspot.com/

    ReplyDelete
  10. I don't understand what an Android App is doing on a blog focused at blogging...
    Anyways, I just wanted to ask if a dedicated android app is necessary for a blog? I mean, people can use a simple RSS reader to get updates right? Or am I going wrong somewhere?

    ReplyDelete
  11. It is the age of science ,technology and computer. You can play games and can win and earn money today. So to know about how to get the video games taster jobs from the http://www.thetechnoholics.com and get paid playing games. Visit the blog to know more about games and earning playing games

    ReplyDelete
  12. Awesome article,thanks for sharing :)

    visit my blog Emrithacks

    ReplyDelete
  13. Android app development
    Good way of writing and also we can say that you are posting impressive blogs.
    Custom Development Custom Development for Bespoke Applications. Increase productivity with our custom App Development. We develop accross all platforms usi. visit this website:- http://blueplanetmobile.co.za/

    ReplyDelete
  14. Well, this is really awesome article you posted on this blog I love to read about Android because I want to become a perfect android developer in the future and want to work in a leading android app development company.

    ReplyDelete
  15. bros av downloaded the andriod abk which java will i download to started

    ReplyDelete
  16. Loving Post i have personally used such software and making the same program in JAVA. I have also practiced the same program in JAVA. Thanks. Software Development Services

    ReplyDelete
  17. Find Latest News, Guides, Firmware, Custom ROMs, Apps, Games and Tips for Android - iDroid Horizon Blog

    ReplyDelete