I am creating new package which only has BroadCastReceiver listening for this intent. This intent is send from another app as a OrderedBroadCast,
At run time, Iget following error when my new Packet's broadcastreceiver is trying to launch
05-01 01:05:52.843: ERROR/AndroidRuntime(192): java.lang.RuntimeException: Unable to start receiver com.test.hmenu.HMenuReceiver: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
I don't want to set the flag - FLAG_ACTIVITY_NEW_TASK in Intent being send, because it is OrderedBroadcast which is also handled by other Receivers