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 aexp.customlist; import android.app.ListActivity; import android.os.Bundle; import android.widget.SimpleAdapter; import android.view.Menu; import android.view.MenuItem; import java.util.ArrayList; import java.util.HashMap; public class CustomList extends ListActivity { ArrayList> list = new ArrayList>(); private static final int ADD_ITEM_ID = 1; public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); SimpleAdapter notes = new SimpleAdapter(this, list, R.layout.main_item_two_line_row, new String[] { "line1", "line2" }, new int[] { R.id.text1, R.id.text2 }); setListAdapter(notes); } public boolean onCreateOptionsMenu(Menu menu) { boolean result = super.onCreateOptionsMenu(menu); menu.add(0, ADD_ITEM_ID, Menu.NONE, R.string.add_item); return result; } public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case ADD_ITEM_ID: addItem(); break; } return super.onOptionsItemSelected(item); } private void addItem() { long ts = System.currentTimeMillis(); int lastDigit = (int) (ts % 10); HashMap item = new HashMap(); item.put("line1", Long.toString(ts)); item.put("line2", "lastDigit: " + Integer.toString(lastDigit)); list.add(item); SimpleAdapter notes = new SimpleAdapter(this, list, R.layout.main_item_two_line_row, new String[] { "line1", "line2" }, new int[] { R.id.text1, R.id.text2 }); setListAdapter(notes); } }