Tuesday, January 25, 2011

My First Android Application

As mentioned in my last post, I have started learning Android.After studying for one week and learning the basic stuff I have just completed my first Android Application.Being a avid cricket fan, it was just fitting that my first application was "World Cup 2011 Schedule".I had completed the coding and testing is done on simulator as I don't have any Android powered device currently.

Feature:-
With the application user can get all the information regarding:-
1.Match Schedule
  • Schedule All Matches
  • Schedule By Date
  • Schedule By Team
  • Schedule By Venue
2.Results
3.Points Table
4.Venue/Stadium Information
5.Weather Information

Below is some screenshot of my app:-



Sunday, January 16, 2011

Failed to install HelloAndroid.apk on device - Android error

Today I started learning Android programming.To start with I downloaded the android sdk from the android developer site and followed the instruction there to install (http://developer.android.com/sdk/index.html).Once done I followed the next instruction to run the first program, yes the "Hello World" program.For this I followed the steps provided at "http://developer.android.com/resources/tutorials/hello-world.html".

But while running I faced with below error message:-

HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554!
HelloAndroid] (null)
HelloAndroid] Launch canceled!

I searched for the error message but didn't found any satisfactory solution.I tried several options.Then after some time I found the solution (a simple one).The solution to the above problem is:-
Set the path environment variable with the path of "platform-tools" and "tools" found in the
"sdk-home".

That's it.Now restart eclipse and execute the program.