Location example not working

0 votes
asked Sep 10, 2016 by brotond (140 points)
Hi there! I downloaded and compiled the Android examples, and have managed to get most of them to work. I cannot get the location tracking with rendering to work, though.


All I've done to customise it was to change the setLatitude() and setLongitude() values for the location_0 variable. I tried a few locations around my office, and around my house, but none of them show the axes. I had a thorough look around near my home, thinking that maybe the axes are just very small, or something, but no, definitely not there. My location was around lat 51.5 long -0.05.


Not quite sure what else to say here apart from it's not working. Can you give me a screenshot of what to expect, so I know how big the projection is meant to be? Any debugging I can do? I know that the location is added, since getObjects().size() says 1.


Any help would be greatly appreciated!

1 Answer

0 votes
answered Sep 19, 2016 by ger (470 points)

Hello , i had the same problem but when i made some change on AndroidMaifest ; like this in it

 <activity android:name="com.inglobetechnologies.armedia.tracker.sdk.ARMediaTrackingUnityPlugin" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">

        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />


I was abe to see the augmented objects in some location that i chosse, i did just add the latitude and longtitude and altitude data and its working but sometimes it crash an stop 

Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.