It seems to be pretty much what you're doing already, so I think the trick is the type:"RAM" bit.
Having said that, the grocery app seems to store all its product data inside the app. It'd actually be better if it was stored as a separate JSON file. It'd be pretty straightforward - for instance see simpletimer - but if you need a hand let me know and I could make those changes.
Also, I don't know what you have planned, but feel free to add the functionality to the original grocery app itself if you think it'll be useful.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi, that's great! I think you're spot on with what assistedgps does.
All you need to do is have
type:"RAM"
in theapps.json
file, and then when you callsendCustomizedApp
in yourcustom.html
instead of doing:which is what assistedgps does, you can call:
It seems to be pretty much what you're doing already, so I think the trick is the
type:"RAM"
bit.Having said that, the grocery app seems to store all its product data inside the app. It'd actually be better if it was stored as a separate JSON file. It'd be pretty straightforward - for instance see
simpletimer
- but if you need a hand let me know and I could make those changes.Also, I don't know what you have planned, but feel free to add the functionality to the original grocery app itself if you think it'll be useful.