Hi,

I've got the following problem. I've got an sql table with the BLOB
field "title", a listview lv and cursor c.

If I use:
///////////////////////
startManagingCursor(c);
String[] from = new String[]{"title"};
int[] to = new int[]{R.id.rowtitle};
SimpleCursorAdapter pins = new SimpleCursorAdapter(this, R.layout.row,
c, from, to);
lv.setAdapter(pins);
///////////////////////
the application will crash. I suppose that I need to convert the value
from "title"'s byte[] to String, but don't know how to do it.

Please help,
martin

--~--~---------~--~----~------------~-------~--~----~
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