Android _ redirect from a service class to another Activity? -
can redirect service class
activity
?
i need when process finish in service redirect me activity .
did try ?
intent in=new intent().setclass(myalarmservice.this,reminder.class); in.setflags(intent.flag_activity_new_task); startactivity(in);
edit :
if using broadcastreceiver try this
intent ialarm = new intent( mcontext, youractivity.class ); ialarm.addflags(intent.flag_from_background); ialarm.addflags(intent.flag_activity_new_task); mcontext.startactivity(ialarm);
Comments
Post a Comment