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,
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
2 matches
Mail list logo