Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
// you get an image as byte array from an vCard object here byte[] avatarBytes = vCard.getAvatar(); // convert the byte array to an bitmap icon = BitmapFactory.decodeByteArray(avatarBytes, 0, avatarBytes.length); // and here you convert the bitmap again to an byte array.. but why? // all you do effectivly is reencoding the image ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); icon.compress(Bitmap.CompressFormat.PNG, 100, outputStream); // here i really dont know why or how contentvalue should help?! ContentValues cv = new ContentValues(); cv.put("avatar", outputStream.toByteArray()); // finally here you put the contentvalue into the database but you want/need byte array mDbHelper.open(); database.addAvatar(uid, cv, hash); mDbHelper.close();