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.TechM.ImageViewer; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.ImageView.ScaleType; import android.widget.LinearLayout.LayoutParams; public class ImageViewer extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); LinearLayout linLayout = new LinearLayout(this); Bitmap bitmapf = BitmapFactory.decodeResource(getResources(), R.drawable.android_118); int width = bitmapf.width(); int height = bitmapf.height(); int newWidth = 200; int newheight = 200; float scaleWidth = ((float)newWidth)/width; float scaleHeight = ((float)newheight)/height; Matrix matrix = new Matrix(); matrix.postScale(scaleWidth,scaleHeight); matrix.postRotate(45); Bitmap bitmapResize = Bitmap.createBitmap(bitmapf, 0, 0, width, height, matrix, true); BitmapDrawable bmd = new BitmapDrawable(bitmapResize); ImageView imageView = new ImageView(this); imageView.setImageDrawable(bmd); imageView.setScaleType(ScaleType.CENTER); linLayout.addView(imageView, new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT ) ); setContentView(R.layout.main); } }