0

I have an activity with a service that keeps the app alive even after you kill it (unless you force close it) and it keeps getting events (in my case from firebase)

Now I want to fire up an activity in case of a specific event change from firebase. how to do it with cyborg?

Alex Gold
  • 105
  • 8

1 Answers1

1
Intent intent = new Intent(getApplicationContext(), ApplicationLauncher.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
cyborg.startActivity(intent);

using the cyborg default activity works..

Alex Gold
  • 105
  • 8