Take the 2-minute tour ×

Can someone please help me figure out how to perform an action when sms is received, is there a special method for it? Will it automatically be ran in the background? The only thing I know is that I need to use permission RECEIVE_SMS.

share|improve this question
I am doing something similar HERE!!! stackoverflow.com/questions/14452808/… –  toobsco42 Jan 22 '13 at 8:04

1 Answer 1

You will need to use a BroadcastReceiver and an IntentFilter. Check them out in the SDK reference.

If you register an IntentFilter in the AndroidManifest.xml with your registration of the BroadcastReceiver then it will be picked by your BroadcastReceiver in the background. Look at Intent and the actions provided.

share|improve this answer

Your Answer


