title: Android: Trouble declaring intent to be fired from a pendingIntent in a notification; done in a broadcastReceiver
body: <p>I would like to send a notification in a broadcast receiver. the notification should launch the default sms app.</p>
  
  <p>Ultimately I want to create my own notifications for incoming text messages consistent with what the deault app, Handcent, and Chomp do.</p>
  
  <p>I have the code to detect the threadId of the incoming sms.</p>
  
  <p>How can I craft the intent to attach to the pendingIntent of the notification?</p>
  
  <p>The following shows how to launch the sms app opening a particular thread, but the Intent creates a null pointer when I initialize it. Is it because it is being initialized in a broadcastReceiver, and not an activity?</p>
  
  <p><a href="https://stackoverflow.com/questions/1412221/how-to-open-up-a-specify-sms-in-android">How to open up a specific SMS in android</a></p>