How to Resume the App from a Service?

Let me detail what I'm trying to do:

I have a class derived from BroadcastReceiver which intercepts SMSes.
I want to open (resume to the last state) the UI (or to create a new one if it wasn't created already by the user).

How do I do that?

Tagged:

Best Answer

Answers

  • DragosPopescuDragosPopescu ROMember

    Really? Am I the only one trying to open the user interface from a service?

  • tonivuctonivuc Member

    Hi

    I am also wondering about this. I'm making an Single-Sign-On API/Library that needs to call on external resources and then get the reply via a redirect into the app via custom URL scheme. Right now the Intent is registered in MainActivity. But it seems very weird to expect developers using my library to set this up in their MainActivity.

    Is there still no better way?

Sign In or Register to comment.