You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible for the Cellular map to jump to the current CellId when the localization service is deactivated?
GNSS is deactivated, but jump to the cell tower on the map anyway.
Cell tower in the center of the map.
The text was updated successfully, but these errors were encountered:
I might be misunderstanding this one a bit @Timorttr . I took a stab at implementing this, but as I was doing it I realized that I can't get the current serving cell without having location services enabled. The reason Android takes this approach is that knowing the serving cell means an app can figure out your rough location, which is a privacy concern. Therefore, to get the current serving cell, location services have to be enabled.
In short, if location services are disabled by the user then I can't get any information, including the serving cell, which prevents me from being able to center the map on the cell tower.
One thing I could do is store the last viewed location, so that way the next time the map is opened, I could zoom to that location. Is that of interest to you?
Would it be possible for the Cellular map to jump to the current CellId when the localization service is deactivated?
GNSS is deactivated, but jump to the cell tower on the map anyway.
Cell tower in the center of the map.
The text was updated successfully, but these errors were encountered: