Hi,
I am building a simple app in Unity/Tango platform.
I am trying to get the location.
I followed the steps in this Unity - Scripting API: LocationService.Start
So after 20 seconds wait it ‘Timed out’ and the Status is always ‘initializing’.
The Input.location.lastData.latitude and Input.location.lastData.longitude is always zero.
In addition I have set this in the AndroidManifest.xml file:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" android:required="true" />
<uses-feature android:name="android.hardware.location" android:required="true" />
Any help would be appreciated.
-Thanks