• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps start activity from service?!

Hi, trying to start activity from service started at BOOT, but log shows how application dies (don't know why exactly) and restarts and triees again and again..

I've tried differents ways of starting activity, like

Intent newUserForm = new Intent(_context, NewUserForm.class);
newUserForm.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
_context.startActivity(newUserForm);

Why is my app dying (and restarting) and I'm not able to start activity from service??
thank you!!!!!!
 
Back
Top Bottom