Hello, I tried to get latitude and longitude coordinates from 'Google Nexus One' and I failed.
I used the LocationInfo struct, but I think there is something missing. I wrote an Update function attached to 'GUI Text' like this:
float lat, lon;
LocationInfo li = new LocationInfo();
lat = li.latitude;
lon = li.longitude;
guiText.text="LAT= "+ lat +"\nLON= " + lon;
Always returns 0.
Any idea? Thanks in advance,