I plan to write an ubuntu app that runs on all ubuntu mobile devices as well on the ubuntu desktop. In this app i have to save some things onto the hard disk via database.
What is the common way to do this? I tried to find something in the ubuntu sdk documentation i was not successful.
You have a couple of options here, either use U1DB which stores json documents in a sqlite database and has good documentation. Or you can use Qt's Local Storage module which you can interact directly with a sqlite database.