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.test.DB; import java.io.FileNotFoundException; import android.app.Activity; import android.content.ContentValues; import android.database.sqlite.SQLiteDatabase; import android.util.Log; public class Banco extends Activity{ private static final String nome_do_banco = "www.portalandroid.org"; private static final int versao_db = 1; private static final String cria_tabela_pessoa = "create table pessoa (id integer primary key autoincrement, nome text not null);"; private SQLiteDatabase db; public Banco(){ try{ db=this.openDatabase(nome_do_banco, null); }catch (FileNotFoundException e) { try{ db = this.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()); } } }