How to start a new activity from a broadcast reciever
<p>I have a broadcastreciver like this</p>

<pre><code>    public class OnAlarmReceiver extends BroadcastReceiver {

private static final String TAG = ComponentInfo.class.getCanonicalName(); 


@Override   
public void onReceive(Context context, Intent intent) {
    Log.d(TAG, "Received wake up from alarm manager.");

    long rowid = intent.getExtras().getLong(RemindersDbAdapter.KEY_ROWID);

    WakeReminderIntentService.acquireStaticLock(context);
</code></pre>

<p>I wanted to start a new activity from this. How can it be done? I tried using startActivty(). But that didn't worked. Please help. Thanks in advance</p>
