So, I have a broadcast receiver that is supposed to start an activity on 
device boot:

public class Boot_Receiver extends BroadcastReceiver
{

@Override
public void onReceive(Context context, Intent intent)
{
Intent activity_intent = new Intent(Main_Activity.class.getName());
activity_intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(activity_intent);
}

}


I think it used to work, but now it gives an error.  I can't seem to make 
heads or tails of the error:

<https://lh4.googleusercontent.com/-WeZCMwK-87E/UYgFlPDjJ2I/AAAAAAAAAcU/Vd-AhGl9h2g/s1600/bootissue2.png>



Any ideas?

Thanks.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to