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)
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ImageView; import android.widget.ListView; import android.widget.SimpleAdapter; import android.widget.TextView; import android.widget.Toast; import android.widget.AdapterView.OnItemClickListener; public class PersonalVideoList extends Activity { ListView lv = null; OnItemClickListener listener = null; @Override protected void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main_option_list); lv = (ListView) findViewById(R.id.list); List> list = buildListForSimpleAdapter(); SimpleAdapter adapter = new SimpleAdapter(this, list, R.layout.main_option_list_row, new String[] { "name", "icon" }, new int[] { R.id.text1, R.id.icon }); listener = new AdapterView.OnItemClickListener() { public void onItemClick(AdapterView parent, View v, int position, long id) { ViewHolder holder; switch (position) { case 0: holder = (ViewHolder) v.getTag(); Toast.makeText(PersonalVideoList.this, holder.text.getText(), Toast.LENGTH_SHORT).show(); break; case 1: break; case 2: break; case 3: finish(); break; } // Toast.makeText(MainOptionList.this, String.valueOf(position), // Toast.LENGTH_SHORT).show(); } }; lv.setAdapter(adapter); lv.setOnItemClickListener(listener); } static class ViewHolder { TextView text; ImageView icon; } private List> buildListForSimpleAdapter() { List> list = new ArrayList>(3); // Build a map for the attributes Map map = new HashMap(); map.put("name", "Abc"); map.put("icon", R.drawable.temp_icon1); list.add(map); map = new HashMap(); map.put("name", "Def"); map.put("icon", R.drawable.temp_icon2); list.add(map); return list; } }