-
• #2
That sounds like a good plan to me! So an
interface.html
that can allow the user to easily choose a location once the app is installed? -
• #3
exactly...
-
• #4
@Gordon, off topic, but another thing I was thinking about is to let the user configure all the App settings by an interface.html in the app loader as it is way easier to scroll and type on your phone. Is this something you might want to consider? While I think I will implement the mylocations configuration after my holidays, this config option to all apps would exceed my skills, yet :)
-
• #5
let the user configure all the App settings by an interface.html in the app loader
There were a few discussions about this before, and I think that while it's definitely an improvement in quality of life, to do it you're probably going to end up duplicating all the settings code, which will make apps much harder to maintain. I bet there'll be more bugs, settings out of sync (some in the Bangle but not on the Desktop, some that don't work, and so on). It feels like the issues from that would probably outweigh the benefits.
There's a possibility to maybe run the app on the phone but the overwrite
E.showMenu
so the menus appear on the PC, but again some apps try and do fancy things withE.showMenu
which probably wouldn't work when relayed to the PC, and I think that having something that doesn't work reliably is worse than not having it at all in this case -
• #6
What about making the web interface with a "detect location" permission/button, which could supply the current phone's location in the WebUI when rewuested? That would be way faster (and more battery-friendly) for those who don't want to wait for a GPS fix on their BangleJS.
-
• #7
That sounds like a good idea. So an
interface.html
file added tomylocation
that also allows the user to get the current location of the web browser.If someone fancies working on a PR for it that'd be great!
-
• #8
I see there that Bangle.js Gadgetbridge is also able to acquire a location, would it be possible to make the latitude and longitude available for watchapps like MyLocation, so that it could keep the location updated from the phone periodically?
-
• #9
That was already answered here http://forum.espruino.com/conversations/377591/#comment16592128 :)
I just had an idea and wanted to check if you guys think it makes sense:
I use mylocation for my watchface, but it offers only some preset locations + GPS. I think I'd like to give users more influence on the preset values. We could let the user enter their own locations in the app loader, but I don't like the fact that they need to add them with each upload. So, I like the way the Waypointer app handles the custom waypoints. I am thinking it might make sese to borrow that code and add it to mylocation to let the user administer their own location presets. What do you think?