it takes a few seconds until the location is available
make sure to enable GPS
then after a few seconds you should see gps in the AvailableProviders property
now set the ProviderName to gps and set ProviderLocked to true
this should give you the best result, assuming you are outside of a building and have a good gps signal...
Thank you
Wagenhurst
Can you also show your sketch that you use in your Arduino?
A basic question though is: What are you going to do with the GPS data in the Arduino? The amount of data will add up rather quickly and the storage in most Arduino's is very limited and not persistent.
Cheers, Ghica
In your last post you say that you also do not see GPS information on your phone. It seems rather clear to me that you cannot send information that your phone does not have. Is GPS enabled on your phone? Is the locationChanged event ever triggered?
Cheers, Ghica