Alexander Doerflinger
05076a01f1
Added "GetAll" Functions to Database handler
...
These functions return all items of a single kind.
We need to think of if we should handle more logic within sqlite
queries (eg. more specific like get all characters of this game) or if we would
like to handle this on apps side.
2017-08-09 15:28:22 +02:00
Alexander Doerflinger
18293d631c
Database Up and Running
...
The Database is now fully functional. For the moment the database is not
fully integrated as we do not have all available data yet. Needs to be
filled with proper data.
For the mechanism to upgrade databases please refer to
https://github.com/jgilfelt/android-sqlite-asset-helper/blob/master/samples/database-v1/src/main/java/com/example/MyDatabase.java
2017-08-09 14:32:44 +02:00
Alexander Doerflinger
349c67f093
Added basic SQLite functionality NOT FUNCTIONAL YET
...
Unfortunately the Databse connection is not functional yet
as we seem to have some general problems with the db handling.
2017-08-08 12:56:44 +02:00
Alexander Doerflinger
5a1ba02c20
Fixed Database name to real name (may be changed later)
2017-08-07 17:16:15 +02:00
Alexander Doerflinger
43d91a8a2d
Added Constants for database access.
...
Added a Contants class which contains all global
database keys and some other global information.
2017-08-07 17:14:26 +02:00
Alexander Doerflinger
68a4744fa0
Added default constructors to database models
...
Empty constructors are needed as we apply the single parameters
using setters. Also it seems to be a sqlite standard.
2017-08-07 16:46:01 +02:00
Alexander Doerflinger
3be3e9ff57
Initial commit
2017-08-07 16:31:49 +02:00