M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Posting data from sqlite to backend database

hi,

Is there any example which loops through records in local SQLite database and posts that data to a back-end table?

And also another question - Is there a way to reliably find out if the app is idle? What I mean by that is that the user has not interacted with the app - say for 30-40 seconds.

Thanks,
M&M

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Posting data from sqlite to backend database

Hello,


Is there any example which loops through records in local SQLite database and posts that data to a back-end table?

1) Save data from SQLite to Appery.io storage variable
2) Send it as request parameters


And also another question - Is there a way to reliably find out if the app is idle? What I mean by that is that the user has not interacted with the app - say for 30-40 seconds.

There are a lot of jquery/phonegap plugins, e.g.:
https://github.com/thorst/jquery-idle...

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Posting data from sqlite to backend database

hi Sergiy,

Thanks for the information.

Cheers,
M&M

Return to “Issues”