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

right?

So I want to get these SMS's sent, which are in 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 ()) {

        case R.id.btnCheckSentSms:
            cr.query (CONTENT_URI, null, null, null, null);
            break;

        }

    }

Once I have done a search, how do I list it in a ListView?
Could 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