you can use local storage for example : var objet = { propriete1 : "valeur1", propriete2 : "valeur2" }; var monobjet_json = window.JSON.stringify(monobjet); window.localStorage .setItem("objet",monobjet_json);
Le dimanche 18 septembre 2016 01:39:01 UTC+2, JorgeH a écrit : > > what if I need to store data in the mobile when there is no internet > connection and sync with the webserver when there is connection? > > what db or sqlite, can I use? > > On Saturday, July 23, 2016 at 1:03:24 AM UTC-5, eric cuver wrote: >> >> you can use cordova wbeview and used side client brython( python) and >> backend web2py >> I create the applications in this way it works very well >> >> Le mardi 19 juillet 2016 13:16:10 UTC+2, Paolo Amboni a écrit : >>> >>> Is it possible to do something like that with web2py? >>> >>> Android apps with Python, Flask and a WebView >>> <https://kivy.org/planet/2016/05/android-apps-with-python-flask-and-a-webview/> >>> ( >>> https://kivy.org/planet/2016/05/android-apps-with-python-flask-and-a-webview/ >>> ) >>> >>> Thanks!! >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.