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 DatabaseManager extends ContentProvider { private static final String TAG = "DATABASEMANAGER_TAG"; private static final String DATABASE_NAME = "myDB.db"; private static final int DATABASE_VERSION = 2; private static final String DATABASE_STARTER_FILE = "insert_" + DATABASE_VERSION + ".sql"; private SQLiteDatabase mDB; public static Context contextPointer; //This is the pointer that will hold a reference to the context for us private static final UriMatcher sUriMatcher; private static class DatabaseHelper extends SQLiteOpenHelper { DatabaseHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onCreate(SQLiteDatabase db) { Log.i(TAG, "DEBUG: calling onCreate Function in SQLiteHelper function"); db.execSQL(createYourFirstTableString()); db.execSQL(createYourSecondTableString()); db.execSQL(createYourThirdTableString); insertValues(db); //Function to initally populate the database } ....... ....... ....... //Function that initially populates the database public void insertValues(SQLiteDatabase db) { String CurLine = ""; try { //make use of context pointer to get the file InputStream inStream = contextPointer.getResources().openRawResource(R.raw.insert_2); DataInputStream din = new DataInputStream(inStream); // read each line of the sql file and insert it into the db while ((CurLine = din.readLine()) != null) { db.execSQL(CurLine); } } catch (IOException e) { Log.e(TAG, "error reading insert values"); } } }// END SQL OPEN HELPER private DatabaseHelper mOpenHelper; //The Database Helper we just defined above @Override public boolean onCreate() { //onCreate for the DatabaseManager implementing ContentProvider mOpenHelper = new DatabaseHelper(getContext()); contextPointer = getContext(); //Set a pointer to the context so that the // static class SQLiteHelper will have access to it mDB = mOpenHelper.getWritableDatabase(); // The database is never created until // getWritableDatabse is called return true; } ..... ..... .....