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)
package com.trackaroo.apps.mobile.android.Trackmaster.bitmap; import java.io.InputStream; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; public class BitmapUtil { public static Bitmap getBitmap(Context context,String photoUriPath) throws Exception { Uri photoUri = Uri.parse(photoUriPath); InputStream photoStream = context.getContentResolver().openInputStream(photoUri); BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize=2; Bitmap photoBitmap = BitmapFactory.decodeStream(photoStream,null,options); int h = photoBitmap.getHeight(); int w = photoBitmap.getWidth(); if((w>h)&&(w>128)){ double ratio = 128d/w; w=128; h=(int)(ratio*h); } else if((h>w)&&(h>128)){ double ratio = 128d/h; h=128; w=(int)(ratio*w); } Bitmap scaled = Bitmap.createScaledBitmap(photoBitmap, w, h, true); photoBitmap.recycle(); return scaled; } }