2011-01-05 3 views

Antwort

1

Ja, absolut mögliche Verwendung Inhalt Resolver und Cursor

z.B. Kontakte Namen

Cursor cursor = getContentResolver(). 
    query(Contacts.CONTENT_URI, 
     new String[]{Contacts.DISPLAY_NAME}, null, null,null); 

    if(cursor!=null){ 
     while(cursor.moveToNext()){ 

     String name = cursor.getString(cursor.getColumnIndex(Contacts.DISPLAY_NAME)) 
     } 

Verwenden Lese für weitere Informationen folgenden Link

http://developer.android.com/guide/topics/providers/content-providers.html

Verwandte Themen