Saturday, January 30, 2010

Setting-up Android Development Enviroment on Windows

Downloading the Tools.
  1. Download Android SDK r4.
  2. Download Eclipse Classic 3.5.1.
  3. Download Android Development Tools 0.9.5.
Installing the Tools.
  1. Extract the SDK at your root directory (ex: C:\)
  2. Extract Eclipse and run eclipse.exe
  3. On Eclipse, click Help -> Install New Software.
  4. Click Add... button, Add Site dialog will pop-up.
  5. Click Archive... button and browse for ADT-0.9.5.zip then click OK.
  6. Specify ADT as Name then click OK.
  7. Toggle-on Developer Tools then click Next to install.
  8. Now set the path of the SDK. Click Window -> Preference. Select Android, and set the SDK Location to: C:\android-sdk-windows, then click OK.
Installing the Android API.
  1. With the SDK path set, click Window -> Android SDK and AVD Manager.
  2. Select Available Packages. Then toggle-on the following:
    • Documentation for Android 2.1, API 7, revision 1
    • SDK Platform Android 2.1, API 7, revision 1
  3. And optionally, toggle-on:
    • Google APIs by Google Inc., Adroid API 7, revision 1
    • Usb Driver package, revision 3
  4. Click Install Selected then accept the license and click Install Accepted.
Creating Android Virtual Device (AVD or what we call Emulator).
  1. Again, click Window -> Android SDK and AVD Manager.
  2. Specify the Name (ex: MyAndroidEmulator)
  3. Choose Android 2.1 - API Level 7 as the Target.
  4. On Hardware, click New and OK repeatedly until all Properties has been added.
  5. Click Create AVD.
Now you can start writing Android Apps!

Wednesday, January 13, 2010

What If 2012 happens?

Been months since I watched 2012 but I still can't remove it in my mind, "What if 2012 happens?"

With billions of dollars in bank, Bill Gates will surely get on board. How about Richard Stallman? Linus Torvalds perhaps?

As a developer, it makes me think, should I still be doing the "right" thing for people? Or should I do the "right" thing for me and my family -- to start hoarding tons of money by selling patented proprietary software...

Another thing that puzzles me, "What kind of software will be saved?". Or better yet, "What kind of software will power the computers of the next generation?". Microsoft's Windows and Visual Studio? Google's Chrome and Go? Perhaps Canonical's Ubuntu, thanks to Mark Shuttleworth.

I hope my small programming language will be saved along with other free and open source projects on SourceForge.

So, I ask you, "What if 2012 happens?"