Tag Archives: Sms Message

Listening incoming sms message in Android

By | May 1, 2011

When a new sms message is received by the device, a Broadcast Receiver is registered. For this IntentFilter filter = new IntentFilter(SMS_RECEIVED); registerReceiver(receiver_SMS, filter); should be included . Also sms are sent in PDU’s(Protocol Description Units) format, which act as an encapsulation. Inorder to extract from PDU to byte array messages[i] = SmsMessage.createFromPdu((byte[]) pdus[i]); method… Read More »

How to send an SMS from an android application?

By | May 6, 2012

It’s easy to send Messages using the SmsManager in android. Check some of the examples relating to working with SMS’s in android. 1. How to simulate an incoming call to an emulator OR Send an SMS to an emulator in ANDROID ? 2. Listening incoming sms message in Android. 3. How to get notified during… Read More »