Basically i am very new to Android development. I tried your code but got error. I am using android 1.5 and the line throwing error is
Using java Syntax Highlighting
Parsed in 0.011 seconds, using GeSHi
in this line "NEW_TASK_LAUNCH" is giving error.
Also i removed this line and ran the project. It succeeded. but when i started the emulator from command line i got following error
The application Services Demo(process com.example) has stopped unexpectedly please try again
Can you please help me?
Thanks in advance