Click here to Skip to main content
15,936,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi , i followed this tutorial ( Get Current Device Location - Xamarin[^]) on creating a application that detects the location of the device once the button was clicked.Ive managed to create the program and followed the tutorial step by step, no build errors whatsoever but whenever i click the button (Get Address ) i just end up with the error , unable to detect location, please try agian later? i have no idea what might cause this, i did email xamarin support , stil waiting so i figured id put the problem up here as well . thanks in advance :)

What I have tried:

i have tried to email xamarin support, have no reply yet .
Posted
Comments
Richard MacCutchan 29-Mar-16 7:04am    
Is your GPS switched on?
jamesmc1535 29-Mar-16 8:28am    
yes , i have it switched it on
Richard MacCutchan 29-Mar-16 8:29am    
This sounds more like a device issues than a coding problem.
jamesmc1535 29-Mar-16 8:31am    
thanks ill look into it , im using an emulator and not an actual android device? could that be the problem?
Richard MacCutchan 29-Mar-16 8:38am    
Um, do you think there is a GPS sensor inside the emulator?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900