I've been trying to revamp the SQLExample tutorial program to work with my data and on both my phone and Samsung Galaxy Tab 10. What I've got so far works fine on the phone but when I run it on the Tab it works in the orientation that I start it, but when I switch orientation I get the message "an error has occurred in sub:main_activity_create(java line:395) android.database.sqlit.SQLiteDiskIOException: disk I/O error Continue?" If I continue the scroll bars will appear on each orientation shift but I get the same error message each time I switch orientation.
I'm baffled! Any suggestions would be appreciated.
I've been trying to revamp the SQLExample tutorial program to work with my data and on both my phone and Samsung Galaxy Tab 10. What I've got so far works fine on the phone but when I run it on the Tab it works in the orientation that I start it, but when I switch orientation I get the message "an error has occurred in sub:main_activity_create(java line:395) android.database.sqlit.SQLiteDiskIOException: disk I/O error Continue?" If I continue the scroll bars will appear on each orientation shift but I get the same error message each time I switch orientation.
I'm baffled! Any suggestions would be appreciated.
I know better. Guess I was more frazzled than I thought.
I will post that file tomorrow. For what it's worth, however, I've attached an earlier example that is not too far removed from the original SQLExample that exhibits the same behavior -- it's just not as pretty!
Dim curs As Cursor
curs = SQL1.ExecQuery("SELECT name FROM sqlite_master WHERE Type='table'")
Log(curs.RowCount)
curs.Position = 0
Log(curs.GetString("name"))
DBTableName = curs.GetString("name")
' reads the database
SQLTableRead