I am developing an Android native game, but I have problems with Data Storage. For a better comprehension think it like as i am developing Clash of Clans, but with Native Andorid.
Now imagine I have to store all datas for Buildings, moneys, troups, ecc in my local phone DB.
I read some guides about SQLite for Android, but i don't really like it. It picks always a Cursor
object and i have to create an "Helper" class for each table so I can convert the Cursor into the object I picked.
My question is: is there a way to do it in a "easier" way but still complete as SQLite?
I learned SugarORM and it is really simple and intuitive, but it has no possibilities for ID
and a lot of other limitations.
I want a library or anything else that allows you to do like windows phone c#:
SQLiteConnection conn = new SQLiteConnection(DBPath);
return conn.Query<TABLE_NAME>(SQL_QUERY);
//in this way i have a list of TABLE_NAME items without any casting or similar.
Is there a way to do it?