[android-developers] Re: Starting an Activity from a callback class

2010-08-19 Thread Indicator Veritatis
Treking is right: you are simply not posting enough information. And what you have posted is problematic and misleading: what do you MEAN the application 'closes'? Have you really missed all the heated discussions explaining why developers should not close/exit their own application components,

Re: [android-developers] Re: Starting an Activity from a callback class

2010-08-19 Thread Priyank Maiya
I was able to fix the problem. The issue was that i did not have the context instance in my callback class. I created a constructor where I got the context from the service class. Using that I was able to call the application activity class. Also I had to use