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)
package com.android.dbdroid; import android.content.Context; import android.database.sqlite.*; import android.util.Log; import android.database.Cursor; import android.database.SQLException; import java.util.ArrayList; import java.util.List; public class DBDroid { private static final String DATABASE_NAME="mydroiddatabase.db"; private static final String USER_TABLE_NAME="Users"; private static final String CREATE_TABLE_USERS="CREATE TABLE IF NOT EXISTS " + USER_TABLE_NAME + " (LastName VARCHAR, FirstName VARCHAR,Country VARCHAR, Age INT(3));"; private static final int DATABASE_VERSION = 1; private SQLiteDatabase myDb=null; public DBDroid(Context ctx){ myDb = ctx.openOrCreateDatabase(DATABASE_NAME, 0, null); myDb.execSQL(CREATE_TABLE_USERS); this.createUsers(); } public void createUsers(){ myDb.execSQL("INSERT INTO " + USER_TABLE_NAME + " (LastName, FirstName, Country, Age)" + " VALUES ('Gramlich', 'Nicolas', 'Germany', 20);"); myDb.execSQL("INSERT INTO " + USER_TABLE_NAME + " (LastName, FirstName, Country, Age)" + " VALUES ('Doe', 'John', 'US', 34);"); } public List getUsers() { ArrayList users = new ArrayList(); try{ Cursor c = myDb.query(USER_TABLE_NAME, new String[] { "LastName", "FirstName", "Country","Age" }, null, null, null, null, null); int numRows = c.getCount(); c.isFirst(); if(c!=null){ for (int i = 0; i < numRows; ++i) { User user = new User(); user.lastName=c.getString(0); user.firstName=c.getString(1); user.country=c.getString(2); user.age=c.getInt(3); users.add(user); c.moveToNext(); } } }catch (SQLException e){ Log.e("DBDroid", e.toString()); } return users; } }