Explained - in detail below.
Hi, I am solving one problem regarding the GPS location error message in the weather.
I have a function that gives me the lat and lon location when I print the system:
so i get this:
Location 180.000000, 180.000000 quality : 4
The problem is that this location is not correct for fetching the weather and I am trying to tell the user that they have to start an activity on the watch in order to display the weather.
What should the function look like to flag this as an incorrect location?
I'm trying to do it like this, but it doesn't work very well for me.
if ($.LocationOWM.CurrentLocation() == null)
{
dc.setColor(Graphics.COLOR_RED, Graphics.COLOR_TRANSPARENT);
dc.drawText(120, 40, Graphics.FONT_XTINY, "GPS?", Graphics.TEXT_JUSTIFY_CENTER);
return;
}