4

Can anyone help me with the coding to get the outgoing SMS / MMS count in Android 1.5?

I would like to my code to know automatically when the SMS or MSS will be sent from the phone.

tchrist
  • 78,834
  • 30
  • 123
  • 180
Subha
  • 741
  • 2
  • 9
  • 23
  • Wait... so are you wanting the count of sent messages, or just to know when a message is sent? – Jeremy Logan Aug 29 '09 at 00:52
  • hi thanks for the response, if i can able to get the outgoing sms / MMS count means that is better for me . else you can able to trigger my apps when the SMS/MMS sent out from mobile that's another one good option , so if anything means it help full for me am using SDK 1. 5 please help me – Subha Sep 11 '09 at 07:33

1 Answers1

2

Unfortunately there is currently no good way to trigger custom code when the phone sends a message. If you only need the count of sent messages you can query the content provider for content://sms/sent but that only gives you messages that were sent by an application that stores them there after sending (e.g. Android Messaging Application).

Related questions

Community
  • 1
  • 1
Josef Pfleger
  • 74,165
  • 16
  • 97
  • 99
  • Hi , from that link i can not able get the codes its broken link can you say how can please thank you – Subha Sep 11 '09 at 07:35