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)
private void getImage(String string) { if(!isCamBusy){ isCamBusy = true; mCamera = Camera.open(); cParams = mCamera.getParameters(); cParams.setPictureSize(320, 240); cParams.setPictureFormat(PixelFormat.JPEG); mCamera.setParameters(cParams); ImageCaptureCallback iccb = new ImageCaptureCallback(); mCamera.takePicture(null, null, iccb); } } public class ImageCaptureCallback implements PictureCallback{ @Override public void onPictureTaken(byte[] data, Camera camera) { try{ String dirpath = Environment.getExternalStorageDirectory().getAbsolutePath().concat("/1206"); Bitmap img = BitmapFactory.decodeByteArray(data, 0, data.length); Random rgen = new Random(); int rnum = rgen.nextInt(10000); String fname = rnum+".jpg"; File file = new File(dirpath, fname); file.createNewFile(); fos = new FileOutputStream(file); img.compress(CompressFormat.JPEG, 100, fos); fos.flush(); fos.close(); }catch(Exception e){ e.printStackTrace(); } camera.release(); isCamBusy = false; } };