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 Items extends ListActivity { public static final String TAG = "Items"; static String[] m_itemList; private TextView m_title; private static class ItemListAdapter extends BaseAdapter{ private LayoutInflater m_inflater; Bitmap m_firstIcon; Bitmap m_secondIcon; Bitmap m_thirdIcon; Bitmap [] m_iconHolder = {m_firstIcon, m_secondIcon, m_thirdIcon}; public ItemListAdapter(Context ctx){ m_inflater = LayoutInflater.from(ctx); m_firstIcon = BitmapFactory.decodeResource(ctx.getResources(), R.drawable.first_icon); m_secondIcon = BitmapFactory.decodeResource(ctx.getResources(), R.drawable.second_icon); m_thirdIcon = BitmapFactory.decodeResource(ctx.getResources(), R.drawable.third_icon); } public int getCount() { // TODO Auto-generated method stub return m_itemList.length; } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } public View getView(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = m_inflater.inflate(R.layout.item_element, null); holder = new ViewHolder(); holder.text = (TextView) convertView.findViewById(R.id.elementText); holder.icon = (ImageView) convertView.findViewById(R.id.elementIcon); Log.d("ItemListAdapter", "populated holder"); } else { holder = (ViewHolder) convertView.getTag(); Log.d("ItemListAdapter", "retrieved holder"); } holder.text.setText(m_itemList[position]); //holder.icon.setImageBitmap(m_iconHolder[position]); if(m_itemList[position].equals("Item 1")){ holder.icon.setImageBitmap(this.m_firstIcon); } else if(m_itemList[position].equals("Item 2")){ holder.icon.setImageBitmap(this.m_secondIcon); } else if (m_itemList[position].equals("Item 3")){ holder.icon.setImageBitmap(this.m_thirdIcon); } return convertView; } static class ViewHolder { TextView text; ImageView icon; } } public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); Resources res = getResources(); m_itemList = res.getStringArray(R.array.m_itemLabels); setContentView(R.layout.item_title); m_title = (TextView) findViewById(R.id.itemTitle); m_title.setText("Items"); setListAdapter(new ItemListAdapter(this)); } }