Reputation: 1709
I need to use geolocation to Android (using Monodroid). And I'm left with two problems.
Upvotes: 0
Views: 539
Reputation: 10139
I'm not sure what you're asking in the first part of the question. Should you warn the user about what, your use of their location? I'd say that depends on how heavily you're using it, but at the very least they would see that you're requesting the location permission(s) when installing your app.
For the second question, take a look at this question/answer from a few days ago. In short, GetLastKnownLocation()
can return null if the provider has never received any location updates.
Edit:
To answer your question in the comments, there are several ways to mock location data in the emulator. This page in the Android documentation walks through how to do it.
Upvotes: 1