hi
use below mentioned method
this will give u object[] of smsmessage
*
private* SmsMessage[]getMessagesFromIntent(Intent intent)
{
SmsMessage retMsgs[] = *null*;
Bundle bdl = intent.getExtras();
*try*{
Object pdus[] = (Object [])bdl.get("pdus");
retMsgs = *new* SmsMessage[pdus.length];
Hi
I require to delete an incoming SMS based on certain parameters
that I define.
Is it possible to do this?
I have tinkered around with onReceive() events but I cannot get the
incoming message to get deleted. The best I could do was to delete all
the exisitng messages in the Inbox.
Can someon
I have an SMSReceiver that I built to intercept a particular type of
SMS that would run a service. That is all working great, however, I
would like for this SMS to not show up in the user's inbox. So
ideally i would like to delete the SMS on the time of Interception. I
have gone through a ton o
3 matches
Mail list logo