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 cap.pick.color; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.view.MotionEvent; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; public class MyColorPicker extends Activity { public TextView RGB; public ImageView ImageView01; public Button BTN; public BitmapDrawable bd; public Bitmap bitmap; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); RGB = (TextView) findViewById(R.id.EditText02); RGB.setText("please choose..."); BTN = (Button) findViewById(R.id.Button01); BTN.setText(""); BTN.setBackgroundColor(0xffffffff); ImageView myImageView = null; myImageView = (ImageView) findViewById(R.id.ImageView01); BitmapDrawable bd = (BitmapDrawable) myImageView.getResources().getDrawable(R.drawable.wheel); Bitmap bitmap = bd.getBitmap(); myImageView.setImageBitmap(bitmap); } public boolean dispatchTouchEvent(MotionEvent event){ ImageView myImageView = (ImageView) findViewById(R.id.ImageView01); BitmapDrawable bd = (BitmapDrawable) myImageView.getResources().getDrawable(R.drawable.wheel); Bitmap bitmap = bd.getBitmap(); try{ int color = bitmap.getPixel((int)event.getX(),(int)event.getX()); RGB.setText(" R:"+Color.red(color)+" G:"+Color.green(color)+" B:"+Color.blue(color)); BTN.setBackgroundColor(color); } catch (Exception e){}; return true; } }