Androidmanifest.xml merger of Qualcomm AR and Friends League SDK

Source: Internet
Author: User

Androidmanifest.xml merger of Qualcomm AR and Friends League SDK

Because the high-pass AR starts in Android, all active activity is set to high-pass activity, i.e. Android:name= " Com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity "The main activity.

Delete the main activity in the androidmanifest.xml of friends, copy high-pass main activity and other activity, and Qualcomm-related permissions.

<?XML version= "1.0" encoding= "Utf-8"?><ManifestAndroid:versionname= "1.0"Android:versioncode= "1"Android:theme= "@android: Style/theme.notitlebar"android:installlocation= "Preferexternal" Package= "Com.unity3d.player"xmlns:android= "Http://schemas.android.com/apk/res/android">    <USES-SDKandroid:minsdkversion= "8" />  <Supports-screensandroid:anydensity= "true"Android:xlargescreens= "true"Android:largescreens= "true"Android:normalscreens= "true"Android:smallscreens= "true"/>  -<Applicationandroid:debuggable= "false"Android:label= "@string/app_name"Android:icon= "@drawable/app_icon">      <!--High -pass main activity and other activity -      <ActivityAndroid:name= "Com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity"Android:label= "@string/app_name"android:screenorientation= "Sensor"android:configchanges= "fontscale|keyboard|keyboardhidden|locale|mnc|mcc|navigation|orientation|screenlayout|screensize| Smallestscreensize|uimode|touchscreen ">          <Meta-dataAndroid:name= "Android.app.lib_name"Android:value= "Unity" />          <Meta-dataAndroid:name= "Unityplayer." Forwardnativeeventstodalvik "Android:value= "false" />          <Intent-filter>              <ActionAndroid:name= "Android.intent.action.MAIN" />              <categoryAndroid:name= "Android.intent.category.LAUNCHER" />          </Intent-filter>      </Activity>          <ActivityAndroid:name= "Com.unity3d.player.VideoPlayer"Android:label= "@string/app_name"android:screenorientation= "Sensor"android:configchanges= "fontscale|keyboard|keyboardhidden|locale|mnc|mcc|navigation|orientation|screenlayout|screensize| Smallestscreensize|uimode|touchscreen ">      </Activity>      <!--High -pass main activity and other activity -          <!---<activity android:label= "@string/app_name" android:configchanges= "fontscale|keyboard|keyboardhidden| Locale|mnc|mcc|navigation|orientation|screenlayout|screensize|smallestscreensize|uimode|touchscreen "Android:        Launchmode= "Singletask" android:name= "com.unity3d.player.UnityPlayerNativeActivity" >-<intent-filter> <action android:name= "Android.intent.action.MAIN"/> <category android:name= "Android.intent.category.LAUN CHER "/> </intent-filter> <meta-data android:name=" Unityplayer. Forwardnativeeventstodalvik "android:value=" false "/> </activity> -    <!--################## #注册SDK使用的Activity ###################### -    <!--share Edit Page -    <ActivityAndroid:name= "Com.umeng.socialize.view.ShareActivity"android:configchanges= "Orientation|keyboard"Android:launchmode= "Singletask"android:nohistory= "true"Android:theme= "@style/theme.umdialog"Android:windowsoftinputmode= "Statevisible|adjustresize" >    </Activity>    <!--############ QQ Space and QQ SSO authorized activity registration ############ -    <ActivityAndroid:name= "Com.tencent.tauth.AuthActivity"Android:launchmode= "Singletask"android:nohistory= "true" >      <Intent-filter>        <ActionAndroid:name= "Android.intent.action.VIEW" />        <categoryAndroid:name= "Android.intent.category.DEFAULT" />        <categoryAndroid:name= "Android.intent.category.BROWSABLE" />        <!--100424468, if you use the public account, you do not need to modify, otherwise modified to your application in the QQ open platform APP ID -        <DataAndroid:scheme= "tencent100424468" />      </Intent-filter>    </Activity>    <ActivityAndroid:name= "Com.tencent.plus.ImageActivity" />    <ActivityAndroid:name= "Com.tencent.connect.common.AssistActivity"Android:theme= "@android: Style/theme.translucent.notitlebar"android:screenorientation= "Portrait">    </Activity>     <!--############ Facebook's activity registration ############ -    <ActivityAndroid:name= "Com.facebook.LoginActivity"Android:label= "@string/app_name"Android:theme= "@android: Style/theme.translucent.notitlebar"     />            <ActivityAndroid:name= ". Wxapi. Wxentryactivity "Android:theme= "@android: Style/theme.translucent.notitlebar"android:configchanges= "Keyboardhidden|orientation|screensize"android:exported= "true"android:screenorientation= "Portrait" />  </Application>  <!--################## #声明SDK使用的相关权限 ###################### -  <uses-permissionAndroid:name= "Android.permission.ACCESS_NETWORK_STATE" />  <!--Detecting Network Status -  <uses-permissionAndroid:name= "Android.permission.ACCESS_WIFI_STATE" />     <!--gets the MAC address as the user's alternate unique identity -  <uses-permissionAndroid:name= "Android.permission.READ_PHONE_STATE" />      <!--gets the IMEI of the user's phone, used to uniquely identify the user.  -  <uses-permissionAndroid:name= "Android.permission.WRITE_EXTERNAL_STORAGE" /><!--Cache Resource Priority deposit SDcard -  <uses-permissionAndroid:name= "Android.permission.INTERNET" />              <!--allow the application to be networked to send data to our server side.  -  <uses-permissionAndroid:name= "Android.permission.ACCESS_FINE_LOCATION" />  <!--for comment module sharing location information -  <uses-permissionAndroid:name= "Android.permission.ACCESS_COARSE_LOCATION" /><!--for comment module sharing location information -    <!--Qualcomm's -    <uses-featureAndroid:name= "Android.hardware.camera" />        <uses-permissionAndroid:name= "Android.permission.CAMERA" />    <uses-permissionAndroid:name= "Android.permission.ACCESS_NETWORK_STATE" />        <!--Qualcomm's -        </Manifest>

High-pass AR and androidmanifest.xml integration of the Friend Alliance SDK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.