- Home /
Question by
VamshiKrishnaP · Dec 18, 2014 at 11:42 AM ·
vuforiaandroid-manifestmanifestprime31merge
How to Merge prime31's manifest xml and vuforia's manifest xml ?
HI Developers,
We are working on a Android project with Vuforia SDK and Unity3D 4.5.5f1 .
we need to integrate Social media facebook image sharing option.
Here am attaching 2 manifest files (Vuforia manifest file & Prime31's socialNetworking manifest file)
Prime31's Manifest file :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.vamshi.test" android:installLocation="preferExternal" android:theme="@android:style/Theme.NoTitleBar" android:versionCode="1" android:versionName="1.0">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name="com.prime31.UnityPlayerNativeActivity" android:label="@string/app_name" android:screenOrientation="sensor">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
<activity configChanges="orientation|screenLayout|screenSize" android:name="com.facebook.LoginActivity" />
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ 312953385580543" />
<meta-data android:name="com.prime31.FacebookPlugin" android:value="UnityPlayerActivityProxy" />
<meta-data android:name="com.prime31.TwitterPlugin" android:value="UnityPlayerActivityProxy" />
</application>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
Vuforia Manifest.xml :
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.qualcomm.QCARUnityPlayer"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<uses-feature android:name="android.hardware.camera" />
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:debuggable="false">
<activity android:name="com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.unity3d.player.VideoPlayer"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
</activity>
</application>
</manifest>
<!-- android:installLocation="preferExternal" -->
Both manifest's have its own Main Activity. either Vuforia working or Prime31's plugin working.
How can i merge these manifest's so that we can share image (screenshot) on facebook with Vuforia project.
Please suggest any idea !
Thank you.
Comment
Your answer
Follow this Question
Related Questions
How to alter the Android Manifest to use my ad-displaying activity in Unity? 0 Answers
unable to merge androidmenifest 1 Answer
Issue Manifest Merge 2 Answers
Having Problem With AndroidManifest.xml 0 Answers