Page 1 of 1

Posting data from sqlite to backend database

Posted: Tue Apr 14, 2015 3:58 am
by M&M

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


Posting data from sqlite to backend database

Posted: Tue Apr 14, 2015 1:58 pm
by Serhii Kulibaba

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...


Posting data from sqlite to backend database

Posted: Tue Apr 14, 2015 2:12 pm
by M&M

hi Sergiy,

Thanks for the information.

Cheers,
M&M