I'm using the v4 emulator, and trying to follow this guide (https://developer.tizen.org/development/guides/.net-application/location-and-sensors/location-information)
I have run into two issues: following the Getting the Current Location section, I did this:
protected override void OnStart()
{
// Handle when your app starts
var locator = new global::Tizen.Location.Locator(Tizen.Location.LocationType.Hybrid);
locator.LocationChanged += Locator_LocationChanged;
locator.ServiceStateChanged += Locator_ServiceStateChanged;
locator.Start();
}
But when it hits locator.Start(), I get a segmentation fault.
I also noticed that Visual Studio doesn't recognize the existence of any properties defined here: (https://developer.tizen.org/dev-guide/csapi/api/Tizen.Location.Locator.html#Tizen_Location_Locator_EnableMock).
For instance, I get an erro when I try to get/set EnableMock, StayInterval.
How do I fix this? How do I start the location service correctly?