How to assign current City/State/Province to a variable?
Moderator: Martin
How to assign current City/State/Province to a variable?
What would be an efficient flow to assign the current City/State/Province to a variable?
Re: How to assign current City/State/Province to a variable?
Do you mean to retrieve your current location's city? You can use openmap API. There is similar thread for this : viewtopic.php?f=5&t=7457
Just look for which administrative level you need.
Just look for which administrative level you need.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.