getContentResolver()

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

getContentResolver()

Postby tbehr » Wed Feb 18, 2009 5:17 pm

Trying to understand basic concepts. Looking for a way to parse the following and only return certain information contained in the contact list. Any help would be appreciated.

//Use Cursor to Query List
Cursor c = getContentResolver().query(
People.CONTENT_URI, null, null, null,
null);
startManagingCursor(c);

String[] columns = new String[] {People.Phones};
tbehr
Freshman
Freshman
 
Posts: 9
Joined: Wed Feb 18, 2009 5:03 pm
Location: Chicago

Top

Postby MrSnowflake » Wed Feb 18, 2009 5:46 pm

*Don't make double posts, and definately don't post questions in tutorials. Closed*
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests