Here Maps Android Sdk Call To Positioningmanager Start Method Returns False
Now I receive Logs like this:
2019-01-27 12:02:51.716 1790-1790/com.company.app I/Position: Setting up positioning
2019-01-27 12:02:51.716 1790-1790/com.company.app W/Position: Positioning not available right now: TEMPORARILY_UNAVAILABLE
2019-01-27 12:02:51.745 1790-1790/com.company.app I/Position: Positioning start returns true
2019-01-27 12:02:51.760 1790-1790/com.company.app I/Position: Problem setting up map engine: MISSING_PERMISSION
2019-01-27 12:02:56.749 1790-2674/com.company.app I/Position: Location: Latitude = 31.8051461, Longitude = 35.092536
2019-01-27 12:02:56.750 1790-2674/com.company.app I/Position: Accuracy = 19.71, 19.71
I'm not sure what permission I'm missing, but it doesn't seem to matter since the code now works... unfortunately, it is not working in my more complex app :-( . The more complex app is mentioned here
Solution 2:
Looks like you solved his problem with the help of here-maps-android-sdk-call-to-positioningmanager-start-method-returns-false But there is still issue with problems-using-here-api-to-get-my-position-wifi-updated
To properly init map engine, it is required to grand the following permissions:
Manifest.permission.ACCESS_NETWORK_STATE
Manifest.permission.ACCESS_WIFI_STATE
Manifest.permission.INTERNET
Missing to grant one of them will lead to MISSING_PERMISSIONS error in logs (which I saw on first SO link). Regarding positioning, it's recommended to grant both permissions - ACCESS_FINE_LOCATION (Allows an app to access precise location) and ACCESS_COARSE_LOCATION (Allows an app to access approximate location).
Please have a look at these advices, and let us know whether the issue was solved. Thank you!
Post a Comment for "Here Maps Android Sdk Call To Positioningmanager Start Method Returns False"