Wednesday, September 30, 2009

Meet Dr. Wave

Today is September 30th. As promised, Google will start opening access to more people to the Google Wave sandbox.

Also, they've let loose a doctor riding your Waves. Not an episode of Fringe, but close. Meet Dr. Wave.

And to make more history, Google released a new design for http://wave.google.com. Awesome dude!

New look for wave.google.com - Share photos on twitter with Twitpic

Friday, September 11, 2009

First Impression Of MOTODEV Studio

Besides HTC, Motorola has also entered the Android market with Cliq. It even have a Android development platform. At http://developer.motorola.com/platforms/android/, you will can find information on App Accelerator Program (for Android apps distribution), and MOTODEV Studio, a set of Android development tools. In this blog entry, I will go through the installation process with screenshots. I have installed MOTODEV Studio Beta on my LinuxMint (Gloria), Gnome 2.26.1 Desktop. Here goes...


From Blog
1. Welcome screen.


From Blog
2. Of course you will *read* every single line, don't you?


From Blog
3. The installer tries to detect the Java environment. NOTE: The Android Development Tool (ADT) depends on Sun Java to work, therefore Sun Java must be installed first.


From Blog
4. Choose a location for installation. I chose my home directory.


From Blog
5. It will create the directory if it does not exist yet.


From Blog

From Blog
6. The installation went through smoothly. Now, launch it.


From Blog
7. Eclipse will always ask for a workspace location (on first launch). You can check the checkbox at the bottom to prevent Eclipse from nagging in future.


From Blog
8. The Eclipse package does not come with Android SDK, which contains the emulator, debugger, ... Follow the instruction on http://developer.android.com/sdk/1.5_r3/index.html to download and install the Android SDK.


From Blog
9. Since I have already installed the SDK, I will just configure the path in Eclipse.


From Blog
10. Done!


From Blog

From Blog
11. I have already setup an Android Virtual device. These 2 screenshots show 2 slightly different views of the same emulator. The 1st screenshot shows an emulator with device body, while the 2nd screenshot shows the emulator without a device body. There is a "Snippet" tool at the bottom-left of the screen. It contains some frequently used codes for you to add in your program. The "Device Management" tool at the bottom-center of the screen allows you to manage multiple Android (real/virtual) devices. These are some of the features that is exclusive to MOTODEV Studio.


From Blog
12. Publishing to Motorola's market and Google's Android market made easy. This is one of the reason why I preferred to develope Android app over iPhone app. For iPhone apps, developers are tied to 1 distribution channel (App Store). Android live in a free (as in speech) world, anyone can setup an app market. And because the Open Handset Alliance has made Android open source, I think there will be many interesting app/hacks coming out in future. That's it! Now it is time for me write some apps in my new shiny IDE ;)

Useful Links:

Saturday, September 5, 2009

Android API Demos

Did you know that the Android SDK comes with a number of sample code? The SDK reference is very comprehensive, but it only documents the the various class individually. Examples are very useful in a learning process, it helps us to understand how concepts are translated to code, and how various components work together to accomplish a task. Unfortunately the SDK reference pages lack example. Besides the whole copy of SDK reference, the SDK package also comes with a number of sample projects. It is located in the <sdk>/platforms/android-1.5/samples folder. Follow the steps to load the project in Eclipse IDE:
  1. Goto: File > Import...
  2. In the Import window, select Existing Projects into workspace, click Next.
  3. For the Select root directory option, click on the Browse button.

  4. Import ApiDemos in the sample folder.
  5. Click Finish and the ApiDemos package will appear in the Package Explorer.
This project is an excellent resource for learning Android programming, and it covers a variety of topics (e.g. animation, widget, graphic, audio, video, ...). You might have noticed there are a number of other projects in the sample folder. Feel free to import them into your workspace, try them out. (If you are thinking of developing a game, JetBoy it a good starting point for learning audio programming.) P.S. Just found a reference website for using emulator: http://www.android.encke.net/android-emulator-tutorial.html.