title: Process For Receiving SMS Messages On Android
body: <p>I apologize ahead of time if this is a open question, I have no where else to turn.</p>
  
  <p>The question, in short, is this: How can I access the incoming SMS messages on an Android phone without being the default SMS messenger? Apps like Pushbullet do NOT request being a default app and they manage to work somehow. I would like to achieve the same result.</p>
  
  <p>I went all over this site, and others, to aid in solving this issue. I am trying to develop an app that will process SMS messages once a user has received them to their phone. This "process" involves parsing it, and sending it over Bluetooth to a PC with a Python app running (this part works superb).
  With the changes in Android's API I can NO LONGER user a BroadcastReceiver to intercept received SMS messages (using SMS_RECEIVED permission), since this will only be sent to the default SMS app or my current default app is killing the broadcast. <strong>I do not want to make my app a default SMS app</strong> so I am trying to find a work around to getting SMS messages from the phone.</p>
  
  <p>After research I have come back with these options:</p>
  
  <ol>
  <li>There is something I missed and I <strong>can</strong> use a BroadcastReceiver but I am doing it wrong.</li>
  <li>I listen to the notifications on the phone and when an SMS message comes in I use Telephony.SMS to access the inbox to get the message (no idea if this works or if it is a preferred strategy).</li>
  <li>(This is hard to find info on) Can I create a service that will intercept these messages <strong>above</strong> my current default SMS app?</li>
  <li>Something else someone can come up with.</li>
  </ol>
  
  <p>Please let me know if you have any questions or need elaboration of any kind, and thanks ahead of time!</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>A BroadcastReceiver is the way to go! It took some modification and the right permissions with the new permission model and voila!</p>