HI

It vl be helpful for u....

  // Get data and create an adapter for it
      String dataPath = getIntent().getData().toString();

      final Uri data = Uri.parse(dataPath + "people/");
      final Cursor c = managedQuery(data, null, null, null, null);

      final String[] from = new String[] {People.NAME};
      int[]  to = new int[] { R.id.itemTextView };

      SimpleCursorAdapter adapter = new
SimpleCursorAdapter(getApplicationContext(),

R.layout.listitemlayout,
                                                            c, from, to);

      // Assign the adapter to the List View
      ListView lv = (ListView)findViewById(R.id.contactListView);
      lv.setAdapter(new check(this));

On Sat, Aug 8, 2009 at 1:44 PM, Ajaz Ahmed <[email protected]> wrote:

> Thanks.
>
>
> On Fri, Aug 7, 2009 at 12:20 AM, Kacper86 <[email protected]> wrote:
>
>>
>> Hi,
>>
>> You have to read this article:
>> http://developer.android.com/guide/topics/providers/content-providers.html
>>
>> If you have any questions after the reading let us now :)
>>
>> On 5 Sie, 21:13, eNtriZe <[email protected]> wrote:
>> > Hi,
>> >
>> > Iam beginner with android can any body tell me how i can access
>> > contents of phones
>> >
>> > Thanks,
>> > Regards
>>
>>
>
> >
>


-- 
Regards
-------------------
Desu Vinod Kumar
[email protected]
09176147148

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to