Tuesday, November 27, 2012

Hello Galaxy

I made the switch from iPhone to the new Galaxy S3, so now I need to learn to code on Droid.

iOS development was fun and Apple's dev tools rock.  I am sure the journey to build Droid apps will be just as much fun.

Here are my notes into getting "Hello Galaxy" ;) up and running on my Mac.  Here are the specs for my dev machine.



First download the ADT Bundle from: https://developer.android.com/sdk/index.html
This bundle has all the Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) http://dl.google.com/android/adt/adt-bundle-mac-x86_64.zip

Unzip to a "develop" folder and fire up Eclipse.app in .../develop/adt-bundle-mac/eclipse/ folder:

When Eclipse fires up for the first time it will ask you to choose a workspace for your projects.  (I like to create a new workspace in the same place where the tools live).




Close the "welcome"screen and a familiar empty eclipse workspace awaits...


Select File->New Android Application Project


Enter "HelloGalaxy" as the Application Name:

Click Next and keep defaults for the Configure Project. 


Click Next and keep defaults for the Configure Launcher Icon. 

Click Next and select BlankActivity for the Create Activity dialog.

Click Next and keep defaults for the New Blank Activity dialog, keeping the Activity Name as MainActivity. Then click Finish.


After you click Finish, the project will be created and ready to build and run.

Congratulations. Your first project is complete.  Now we will try build and run this project.





No comments:

Post a Comment