How to create a note programmatically?
Dees someone now, how to create a note programmatically in a QML based app? There are two use cases:
- Opening the notes app with a new note like the shortcut in the top menu
- Saving a note in the notes app database or file storage. I'm not sure, which storage approach the notes app uses.
jolla-notes seem to have a normal sqlite database i the folder '/home/nemo/.local/share/jolla-notes/QML/OfflineStorage/D atabases' [nemo@Sailfish Databases]$
Rikujolla ( 2019-02-10 17:49:39 +0200 )edit@Rikujolla Thanks. So I need to reverse engineer the database model and have to use an SQL statement? Is ther a Qt API wrapper for sent SQL statements?
jsommer ( 2019-02-10 18:55:28 +0200 )edit