Hi, I need advice on how to get current location for weather information via OWM provider?
I have used this in the past:
function getCurrentLocation() { var currentLocation = Activity.getActivityInfo().currentLocation; if(currentLocation != null) { return currentLocation.toDegrees(); } return currentLocation; }
but if the watch activity was not started, the weather was not available.
Do you have other ways to always get accurate weather location?
Thanks for the ideas...