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.prova.pgsql; import java.sql.*; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class PGSQL extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView tv; tv = (TextView) this.findViewById(R.id.main); TextView tv2; tv2 = (TextView) this.findViewById(R.id.url); try { Class.forName("org.postgresql.Driver"); tv.setText("Registered the driver ok, so let's make a connection."); Connection c = null; c = DriverManager.getConnection("jdbc:postgresql://192.168.0.2/ postgres", "postgres", "alessio"); tv2.setText("jdbc:postgresql://192.168.0.2/postgres"+ "postgres"+ "alessio"); DatabaseMetaData dbmd; dbmd = c.getMetaData(); //get MetaData to confirm connection tv2.setText("Connection to "+dbmd.getDatabaseProductName()+" "+ dbmd.getDatabaseProductVersion()+" successful.\n"); if (c != null) tv.setText("Hooray! We connected to the database!"); else tv.setText("We should never get here."); } catch (SQLException se) { tv.setText("Couldn't connect: print out a stack trace and exit."); se.printStackTrace(); //System.exit(1); } catch (ClassNotFoundException cnfe) { tv.setText("Couldn't find driver class:"); System.err.println("Couldn't find driver class:"); cnfe.printStackTrace(); } } }