Is it possible to share the same database between two games (apps)?
The other one would be written in Java (Eclipse), not Corona.
Regards,
Damir. [import]uid: 108334 topic_id: 25794 reply_id: 325794[/import]
Is it possible to share the same database between two games (apps)?
The other one would be written in Java (Eclipse), not Corona.
Regards,
Damir. [import]uid: 108334 topic_id: 25794 reply_id: 325794[/import]
Update:
Managed to open it with:
SQLiteDatabase myDataBase = SQLiteDatabase.openDatabase(DB_PATH, null, SQLiteDatabase.NO_LOCALIZED_COLLATORS | SQLiteDatabase.OPEN_READWRITE );
but can’t update a table.
The error is:
05-01 23:04:31.890: E/AndroidRuntime(5257): Caused by: android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database
Why is the database readonly ? [import]uid: 108334 topic_id: 25794 reply_id: 104284[/import]