Does anyone have an example of how I can use SQLite in libGDX? I have a class in my original Android code that allowed me to easily access a database but I can't seem to find anything equivalent to that in libGDX. Or maybe I am missing something? Am I able to use that in the libGDX code somehow? Sorry I am new to libGDX.
If you have that, you can use (callbacks).
You define an interface, and implement the methods in the android classes, in that way you can retrieve data and get it in your proyect in libgdx.
Its an easy way.
I used my class in libgdx as a singleton, because i dont need a lot of instances, and i secure that is always live.