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 prueba.sqlite; import android.app.Activity; import android.view.View.OnClickListener; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class agenda extends Activity implements OnClickListener { private final String NOMBRE_BBDD = "BBDD_agenda"; private final String NOMBRE_TABLA = "contactos"; private EditText texto_nombre; private EditText texto_fijo; private EditText texto_movil; private Button boton; SQLiteDatabase BBDD; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.texto_nombre=(EditText)findViewById(R.id.texto_nombre); texto_fijo=(EditText)findViewById(R.id.texto_fijo); texto_movil=(EditText)findViewById(R.id.texto_movil); boton = (Button)findViewById(R.id.boton); boton.setOnClickListener(this); /* Abrimos la base de datos. * Si no existía previamente se creará automáticamente. */ BBDD = this.openOrCreateDatabase(NOMBRE_BBDD, 1, null); /* Creamos la tabla de contactos en la base de datos. * En caso de que existiera previamente se producirá error ('IF NOT EXISTS'). */ BBDD.execSQL("CREATE TABLE IF NOT EXISTS " + NOMBRE_TABLA + " (nombre VARCHAR, tel_fijo INT(9), tel_movil INT(9));"); setContentView(R.layout.main); } // Implement the OnClickListener callback public void onClick(View v) { String nombre=this.texto_nombre.getText().toString(); int tel_fijo=Integer.parseInt(this.texto_fijo.getText().toString()); int tel_movil=Integer.parseInt(this.texto_movil.getText().toString()); BBDD.execSQL("INSERT INTO " + NOMBRE_BBDD + " (nombre, tel_fijo, tel_movil)" + " VALUES ('"+nombre+"', "+tel_fijo+", "+tel_movil+");"); } }