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)
public class SetupContent extends Activity { @Override public void onCreate(Bundle icicle){ super.onCreate(icicle); setContentView(R.layout.imagegrid); GridView g = (GridView) findViewById(R.id.myGrid); g.setAdapter(new ImageAdapter(this)); } public class CustomImageView extends LinearLayout implements android.view.View.OnClickListener,android.view.View.OnFocusChangeListener{ public void onFocusChanged(View v, boolean focused) { // TODO Auto-generated method stub if(focused) this.setBackground(R.drawable.shape_1); else this.setBackground(0x000000); } ImageView image =null; TextView label =null; View theView =null; int ID =0; public CustomImageView(Context context) { super(context); // TODO Auto-generated constructor stub ViewInflate inf =(ViewInflate)getSystemService(INFLATE_SERVICE); theView = inf.inflate(R.layout.imageview, null, false, null); image = (ImageView) theView.findViewById(R.id.image); label = (TextView) theView.findViewById(R.id.imagetext); label.setTypeface(Typeface.create("Tahoma", Typeface.BOLD)); addView(theView, new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); setOnClickListener(this); this.setOnFocusChangeListener(this); } @Override public boolean onMotionEvent(MotionEvent event) { performClick(); requestFocus(); return super.onMotionEvent(event); } public void onClick(View arg0) { // TODO Auto-generated method stub Log.i("IconTextMenuClicked", "clicked"); label.setText("xxx"); SetupContent(ID); arg0.requestFocus(); } public void setImageResource(int drawable) { image.setImageResource(drawable); } public void setImageLabel(String strLabel) { label.setText(strLabel); } public void setID(int nID) { ID=nID; } } public class ImageAdapter extends BaseAdapter { private Integer[] mThumbIds = { R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32, R.drawable.people_add32x32, R.drawable.appointmentnew32x32, R.drawable.people32x32 }; private String[] labels = { "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none...", "Contacts", "none...", "none..." }; public ImageAdapter(Context c) { mContext = c; } public int getCount(){ return mThumbIds.length; } public Object getItem(int position){ return position; } public long getItemId(int position){ return position; } public View getView(int position, View convertView, ViewGroup parent) { CustomImageView i = new CustomImageView(mContext); i.setImageResource(mThumbIds[position]); i.setID(position); String label = "img" + position; i.setImageLabel(label); return i; } private Context mContext; } void SetupContent(int ID) { switch(ID){ case 0: SetupContactContent(); break; } } void SetupContactContent() { } }