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.google.android.imageps; import android.app.Activity; import android.app.AlertDialog; import android.os.Bundle; import android.text.Layout; import android.view.KeyEvent; import android.view.Menu; import android.view.View; import android.view.Window; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.Gallery; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import android.content.*; import android.content.DialogInterface.OnClickListener; import android.view.*; import android.widget.*; import android.widget.Gallery.LayoutParams; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; //Need the following import to get access to the app resources, since this //class is in a sub-package. /** * Demonstrates the handling of touch screen events to implement a simple * painting app. */ public class ImagePS extends Activity{ private static ImagePSView mImagePSView; private static Bundle extras; private static final int MENU_SAVE = Menu.FIRST; @Override protected void onCreate(Bundle icicle) { super.onCreate(icicle); extras = getIntent().getExtras(); requestWindowFeature(Window.FEATURE_NO_TITLE); mImagePSView = new ImagePSView(this, extras); setContentView(mImagePSView); } public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0, MENU_SAVE, R.string.menu_save); return true; } public boolean onOptionsItemSelected(Menu.Item item) { switch (item.getId()) { case MENU_SAVE: OutPutPicture(); return true; } return super.onOptionsItemSelected(item); } public void OutPutPicture() { FileOutputStream fOut = null; try { fOut = openFileOutput("pic1.png", MODE_PRIVATE); } catch (FileNotFoundException e) { e.printStackTrace(); } mImagePSView.mBitmap.compress(Bitmap.CompressFormat.PNG, 100, fOut); try { fOut.flush(); } catch (IOException e) { e.printStackTrace(); } try { fOut.close(); } catch (IOException e) { e.printStackTrace(); } } }