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 DictionarySQLAutoComplete extends Activity { public static final String AUTHORITY = "com.xxx.android.examples"; public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/dictionarysqlautocomplete"); @Override public void onCreate(Bundle savedInstanceState) { DictionaryDbAdapter aDbHelper = new DictionaryDbAdapter( this ); aDbHelper.open(); // Fill the DB with the file contents AssetManager assetManager = getResources().getAssets(); InputStream inStream =assetManager.open("filename.txt"); DataInputStream dataInStream = new DataInputStream(inStream); BufferedReader bufReader = new BufferedReader(new InputStreamReader (dataInStream)); String aFileLine = null; while( ( aFileLine = bufReader.readLine() ) != null ) { // Copy read line to next item to the dictionary long result = aDbHelper.createDictionaryEntry(aFileLine, "empty for now"); } bufReader.close(); // Get the cursor for the full DB contents query Cursor aCursor = mDbHelper.fetchAllDictionaryEntries(); //Create the auto-complete text widget AutoCompleteTextView textView = (AutoCompleteTextView) findViewById (R.id.edit); // Create the adapter from the database cursor mFrom = new String[] { DictionaryDbAdapter.KEY_ROWID}; mTo = new int[] { android.R.id.text1 }; SimpleCursorAdapter adapter = new SimpleCursorAdapter( this, android.R.layout.simple_dropdown_item_1line, aCursor, mFrom, mTo ); }