Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 28
Registered: ‎02-07-2013
My Device: blackberry 10

qml database inesert


 Is there any way to insert data into sqlite database using qml ? Or is there any way to write data into json file using qml ? Please help me!

Posts: 6,145
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: qml database inesert

Only indirectly by exposing the methods from c++ to qml.


Here's an example of one way of doing it...



If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Posts: 12
Registered: ‎04-08-2013
My Device: Z10 Limited Edition STL100-1

Re: qml database inesert

Or check this site: https://developer.blackberry.com/native/sampleapps/ there is SQL and JSON examples.