Home / Android / AndroidManifest.xml / Example

AndroidManifest.xml - Android Studio

Example

Example AndroidManifest

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tony.android.apptest4"
android:versionCode="1"
android:versionName="1.1">


<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

<application
xmlns:tools="http://schemas.android.com/tools"
tools:replace="android:label,android:allowBackup"
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:theme="@style/AppTheme" >


<receiver
android:name="com.tappx.sdk.android.TrackInstallReceiver"
android:exported="true">

</receiver>

<activity
android:name=".StartLayout"
android:label="@string/title_activity_banner_sample" >

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".MainRelativeLayoutNewSDK"/>
<activity android:name=".MainRelativeLayoutAdmob"/>

<!-- AdActivity from Google Play Services, needed by Tappx -->
<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
</application>
</manifest>