Hi All,
Getting nowhere with SQL example.
Started Example2, threw up error when I tried to ADD an entry. I had entered the three inputs it said I had entered four.
I retried in Debug, same message with the B4A line number. A mobile screen shot attatched.
The error log is below:
All I've done so far is update the Manifest to version 26 and added #BridgeLogger: True.
Any clues on how to get the example to work.
Thanks in advance Roger
Getting nowhere with SQL example.
Started Example2, threw up error when I tried to ADD an entry. I had entered the three inputs it said I had entered four.
I retried in Debug, same message with the B4A line number. A mobile screen shot attatched.
The error log is below:
All I've done so far is update the Manifest to version 26 and added #BridgeLogger: True.
Any clues on how to get the example to work.
Thanks in advance Roger
Logger connected to: LGE LG-H990
--------- beginning of main
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
--------- beginning of system
http://1.5.stub/
http://1.7.stub/
http://1.9.stub/
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (java line: 401)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:401)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:423)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
edit_addentry (java line: 401)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:401)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:423)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (java line: 401)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:401)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:423)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (java line: 401)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:401)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:423)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (B4A line: 75)
Main.SQL1.ExecNonQuery2(Query, Array As String(e
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:452)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:492)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
http://0.5.stub/
** Activity (main) Pause, UserClosed = false **
** Activity (filter) Create, isFirst = true **
** Activity (filter) Resume **
** Activity (filter) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (B4A line: 75)
Main.SQL1.ExecNonQuery2(Query, Array As String(e
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:452)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:492)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
http://1.11.stub/
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (java line: 401)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:401)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:423)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (B4A line: 75)
Main.SQL1.ExecNonQuery2(Query, Array As String(e
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:452)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:492)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = true **
** Activity (edit) Resume **
edit_addentry (B4A line: 75)
Main.SQL1.ExecNonQuery2(Query, Array As String(e
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:895)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:506)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1106)
at anywheresoftware.b4a.sql.SQL.ExecNonQuery2(SQL.java:85)
at b4a.sqlitelight2.edit._addentry(edit.java:452)
at b4a.sqlitelight2.edit._btnadd_click(edit.java:492)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6274)
at android.view.View$PerformClick.run(View.java:24859)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (edit) Create, isFirst = false **
** Activity (edit) Resume **
android.database.sqlite.SQLiteException: table persons has 3 columns but 4 values were supplied (code 1): , while compiling: INSERT INTO persons VALUES (NULL, ?, ?, ?)
** Activity (edit) Pause, UserClosed = false **
** Activity (edit) Resume **
** Activity (edit) Pause, UserClosed = false **