Hi all, I am still struggling trying to get this to work and any help
would be great:

ImageView i = (ImageView) view.findViewById(R.id.pix);
 byte[] img =
cursor.getBlob(cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID));
  Bitmap b = BitmapFactory.decodeByteArray(img, 0, img.length);
  i.setImageBitmap(b);

In this method, the cursor is :

 c = cr.query(ContactsContract.Contacts.CONTENT_URI, null, null,
null,null);

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to