Hello, when I send an SMS on my emulator, it goes to the content
provider:
content: / / sms / sit

right?

So I want to get these SMS's sent from the content provider. But I do
not know how to do this. I know I should have the query () method and
then call it in the place where I want to search. I did this:

ContentResolver cr = getContentResolver ();// Getting object
ContentResolver
final Uri CONTENT_URI Uri.parse = ("content: / / sms / sent");
public void myClickHandler (View view) (

        switch (view.getId ()) (

        R.id.btnVerSms case:
            cr.query (CONTENT_URI, null, null, null, null);
            ListView. / / ADD THIS SEARCH ON MISSING LIST VIEW
            break;

        )

    )

Once you have done a search, how do I list it in a ListView?
Would someone help me in detail? If you can, thank you.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to