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 SelectContacts extends ListActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); populateContactsLayout(); } /** * */ private void populateContactsLayout() { ListView listView = getListView(); listView.setItemsCanFocus(false); listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); listView.setTextFilterEnabled(true); queryContacts(); } /** * Utility method for querying contacts and displaying them * @param nameClause */ private void queryContacts() { List contacts = new ArrayList(); String query = People.NUMBER + " is not null and " + People.NAME + " like '%'"; Cursor managedCursor = managedQuery(People.CONTENT_URI, new String[] {People._ID,People.NAME, People.TYPE, People.NUMBER}, query, null, People.DEFAULT_SORT_ORDER); while(managedCursor.moveToNext()) { Contact contact = new Contact(managedCursor.getString(managedCursor.getColumnIndexOrThrow(People._ID)), managedCursor.getString(managedCursor.getColumnIndexOrThrow(People.NAME)), managedCursor.getString(managedCursor.getColumnIndexOrThrow(People.TYPE)), managedCursor.getString(managedCursor.getColumnIndexOrThrow(People.NUMBER))); contacts.add(contact); Log.e("SelectContacts", contact.toString()); } ArrayAdapter arrayAdapter = new ContactItemArrayAdapter(this, R.layout.select_contacts, contacts); setListAdapter(arrayAdapter); } @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); Contact contact = (Contact)l.getItemAtPosition(position); CheckBox checkBox = (CheckBox)l.findViewWithTag(contact.getId()); Log.e("SelectContacts", checkBox.getTag().toString()); checkBox.setChecked(!checkBox.isChecked()); Log.e("SelectContacts", "contact with name "+contact.getName()+" and position "+position+" was clicked"); } }