Possible Duplicate:
How to start an Activity from a Service?
I have service, which checks app versions and if there is new, it should prompt my fully functioning installation intent. My question is - how to start intent on actual screen from service?
Edit: I have thought of int status, i will compare actual version installed and version on the web. If there is newer version, I will set status=1. And for each intent in my app i add if clause:
If(status==1){
// prompt installation intent
}
but how to get this "status" which is declared and inicialized in service class?
Thanks