I have searched on many sites and blogs for my query. I am confused about what is the best way to import text messages from mobile's inbox into my application. Some recommends SmsManager and some say via content providers.
Asked
Active
Viewed 69 times
1 Answers
0
Sounds like you want to use a content resolver.
Short explaination:
Use
SMSManager
to send sms. ExampleUse
ContentResolver
to read all existing SMS. ExampleUse
BroadcastReceiver
to read new incomming SMS. Example
Here is a good SO question which explains how to retrieve SMS from inbox.
-
1I cant. I need 15 reputation to vote up the answer. Thanks for your help :) – FAK Aug 05 '14 at 01:37
-
But you can accept the answer so it can help other people with the same question :) (If you think i answered your question correctly ofcourse) – Rawa Aug 05 '14 at 01:39