0

I am working on an android project. I am displaing all the incoming,outgoing and missed calls. I want to also add the sms sent and receive. How can I do that? Is there a library that displays all the sms from the android phone?

Appreciate for your help

just ME
  • 1,817
  • 6
  • 32
  • 53

1 Answers1

0

There is no direct library. You have to use a content provider (opened using an URI) and fetch messages using it. Then create your own List with custom adapter and add SMS data into it.

wojciii
  • 4,253
  • 1
  • 30
  • 39
AAnkit
  • 27,299
  • 12
  • 60
  • 71
  • is there an example you can give? – just ME Aug 09 '12 at 07:13
  • 1
    This [question](http://stackoverflow.com/questions/1976252/how-to-use-sms-content-provider-where-are-the-docs) gives you an example and some discussion of how SMS content providers work. – wojciii Aug 11 '12 at 07:13