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 android.app.ListActivity; import android.os.Bundle; import android.view.KeyEvent; import android.widget.ArrayAdapter; public class SimpleListScreen extends ListActivity { private String[] mStrings = new String[] { "Android", "Google", "Eclipse" }; private int mStrings_length= mStrings.length-1; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); // Create an array of Strings, that will be put to our ListActivity // Create an ArrayAdapter, that will actually make the Strings above // appear in the ListView this.setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, mStrings)); } @Override public boolean onKeyDown(int keyCode, KeyEvent event) { // TODO Auto-generated method stub switch (keyCode) { case KeyEvent.KEYCODE_DPAD_DOWN: moveToTop(); return true; case KeyEvent.KEYCODE_DPAD_UP: moveToBottom(); return true; } return false; } public void moveToTop() { int selectionRowID = (int) this.getSelectionRowID(); if(selectionRowID==(mStrings_length)){ this.setSelection(0); } } public void moveToBottom() { int selectionRowID = (int) this.getSelectionRowID(); if(selectionRowID==0){ this.setSelection(mStrings_length); } } }