back soft

مطالب مرتبط با «start with map» در back soft | نویسنده: استخدام کار

Start map with current location

Vote count: 0 I want the map in this application to start with the current location of the user but it keeps starting with the default location being the location with latitude = 0 and longitude = 0. It also doesn't work when I walk around with phone in hand.. This is my code: import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationManager; import android.location.LocationListener; import android.os.Bundle; import androi...

ادامه مطلب