public class HelloPostgreSQLActivity extends Activity { TextView resultArea; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); resultArea = new TextView(this); resultArea.setText("Please wait."); setContentView(resultArea); new FetchSQL().execute(); } private class FetchSQL extends AsyncTask <Void,Void,String> { @Override protected String doInBackground(Void... params) {
I run my program in Android Emulator. My program has the following error.
org.postgresql.util.PSQLException : FATAL: no PostgreSQL Username specified in startup packet.
What is wrong with my program, what should I do?
source share