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)
public static void setState(SurfaceHolder mHolder, SurfaceView mPreview, Bitmap bitmap){ try{ /*Center the image*/ double wP = mPreview.getWidth(); double hP = mPreview.getHeight(); double wB = bitmap.getWidth(); double hB = bitmap.getHeight(); double menos=1; double i = 1; double j = 1; if (wP < wB) i = wP/wB; if (hP < hB) j= hP/hB; menos = Math.min(i,j); int wTotal = (int)(wB*menos); int hTotal = (int)(hB*menos); int left = (int)((wP-wTotal)/2); int top = (int)((hP-hTotal)/2); Canvas canvas = mHolder.lockCanvas(); canvas.drawColor(Color.BLACK); canvas.drawBitmap(bitmap, null, new Rect(left,top,wTotal+left,hTotal +top), null); mHolder.unlockCanvasAndPost(canvas); }catch(NullPointerException e){ Log.e("","NullPointerException in setState: ",e); } }