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.ImageView; import android.widget.TextView; public class MyColorPicker extends Activity { public Float xtouch; public Float ytouch; public TextView Hex; public TextView RGB; public ImageView ImageView01; 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); Hex = (TextView) findViewById(R.id.EditText01); RGB = (TextView) findViewById(R.id.EditText02); 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){ // this is canvas x/y - for testing the touch event and it works xtouch = event.getX(); ytouch = event.getY(); RGB.setText(xtouch.toString()); Hex.setText(ytouch.toString()); // this is bitmap get color on x/y - it doesn't work (app crashes) int color = bitmap.getPixel((int)event.getX(), (int)event.getY()); RGB.setText(Color.red(color)+""+Color.green(color)+""+Color.blue(color)); return true; } }