About Location Exemple

0 votes
asked Aug 3, 2016 by ger (470 points)
Hello, can you tell me how to use it , i mean to make it work ?

i had a blue screen and no camera , and how to modify the altitude etc

please help

1 Answer

0 votes
answered Aug 3, 2016 by Alex (6,680 points)
Please read my previous answer about blue screen....

 

Regarding the altitude, do you mean the user's altitude or the location targets' altitude?

 

Alex
commented Aug 4, 2016 by ger (470 points)
Hello Alex
I just did all of those steps
but when i open  it , thr app stops , crashed , here is my androudManifest
?xml version="1.0" encoding="utf-8"?>

<!-- Be sure to specifiy a package identifier for which you have a valid SDK key -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.inglobetechnologies.ARMediaSDKUnityExample" android:versionName="1.0" android:versionCode="1" android:installLocation="preferExternal">

  <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="22" />
  <uses-feature android:glEsVersion="0x00020000" />
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  
  <!-- Specify these permissions and features in order to read 3D targets data and access the camera on your device -->
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.CAMERA" />
  <uses-feature android:name="android.hardware.location.gps" android:required="true" />
  <uses-feature android:name="android.hardware.location" android:required="true" />
  <uses-feature android:name="android.hardware.camera" android:required="true" />
  <uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
  <uses-feature android:name="android.hardware.camera.front" android:required="true" />
  <uses-feature android:name="android.hardware.sensor.accelerometer" />
  <uses-feature android:name="android.hardware.touchscreen" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="true" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="true" />
    
  <application android:allowBackup="true" android:icon="@drawable/app_icon">
      
    <!-- Be sure to use the activity specified name as shown below in order to instantiate the tracker -->
    <activity android:name="com.inglobetechnologies.ARMediaSDKUnityExample" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
  </application>

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