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 Banco{ private static final String nome_do_banco = "portalandroid"; private static final int versao_db = 1; private static final String cria_tabela_pessoa = "CREATE TABLE IF NOT EXISTS pessoa (id INTEGER PRIMARY KEY AUTO_INCREMENT, nome TEXT NOT NULL);"; private SQLiteDatabase db; public Banco(Context con){ try{ db=con.openDatabase(nome_do_banco, null); }catch (FileNotFoundException e) { try{ db = con.createDatabase(nome_do_banco, versao_db, 0, null); db.execSQL(cria_tabela_pessoa); }catch (FileNotFoundException e1) { db = null; } } } public void insereNome(String nome){ ContentValues valores = new ContentValues(); valores.put("nome", nome); //conectaBanco(); //String sql = "INSERT INTO pessoa (nome) VALUES ('"+nome+"');"; try { //db.execSQL(sql); db.insert("pessoa", "nome", valores); Log.i("Inseriu",nome); } catch (Exception e) { Log.e("ERROR", e.toString()); } }