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 contact extends Activity { SparseBooleanArray chosen; TextView tv; ListView lv; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); loadContacts(); } private void loadContacts(){ String[] contacts = new String[] {People.NAME}; final String[] cols = new String[] { Contacts.People.NAME, Contacts.People._ID, Contacts.People.NUMBER }; final Cursor C = getContentResolver().query(People.CONTENT_URI, cols, null, null, null); startManagingCursor(C); lv = (ListView)findViewById(R.id.contact_list); ListAdapter mAdapter = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_multiple_choice, C, cols, new int[] {android.R.id.text1} ); lv.setAdapter(mAdapter); tv = (TextView)findViewById(R.id.contact_text); lv.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { chosen = lv.getCheckedItemPositions(); updateAttendance(chosen, C); tv.invalidate(); return false; } }); lv.setItemsCanFocus(false); lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); lv.invalidate(); } private void updateAttendance(SparseBooleanArray array, Cursor c) { tv.setText("Chosen:\n"); chosen = lv.getCheckedItemPositions(); boolean inLoop = c.moveToFirst(); while(inLoop) { if(chosen.get(c.getPosition() ) ) { tv.append(c.getString(0) + "\n"); } inLoop = c.moveToNext(); } } }