Hi guys: i wanna do this in my app: once the user start my app, say 'MsgCounter', the app then runs in backstage of Android, and count the number of sent/received sms/mms since then.
its easy to count the number of received sms: by setting up a BroadcastReceiver to listen to the action 'android.provider.Telephony.SMS_RECEIVED' and do 'i++' at each Broadcast. however, theres no such Broadcast in sending sms and receiving/sending mms. im considering to realize it by reading the database of 'content://sms' & 'content://mms', but i can only get the sent/ received msgs stored in the database, which means once the user delete some of the msgs, the number changes rulelessly and the problem becomes really compilicated. ive seen such app on the web but i dont get the principle. so do u guys have any ideas about this problem? thx a lot! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

