Skip to content

A helper to log / debug Android Cursors by drawing a ASCII Table.

Notifications You must be signed in to change notification settings

duncandee/CursorASCIITable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

#Cursor ASCII Table

A helper to log / debug Android Cursors.
It will output a ASCII with the Cursors data in it.
There is a limitation with line wrapping in logcat, so you should limit it to the columns that are important.

###Dependency

###Usage

String[] limit = new String[] { Contacts._ID, Contacts.DISPLAY_NAME };
Cursor c = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);

CursorASCIITable.d(c, limit);

About

A helper to log / debug Android Cursors by drawing a ASCII Table.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages