Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <!-- When updating on Googe Play Store, manually change "android:versionCode" -->
- <!-- Reference - https://getsatisfaction.com/apperyio/topics/android_version_number_change_will_not_save -->
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- android:versionCode="7"
- android:versionName="0.20140308b" package="io.appery.project143296">
- <!-- GCM requires Android SDK version 2.2 (API level 8) or above. -->
- <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>
- <supports-screens android:largeScreens="true"
- android:normalScreens="true" android:smallScreens="true"
- android:resizeable="true" android:anyDensity="true" />
- <permission android:name="io.appery.project143296.permission.C2D_MESSAGE"
- android:protectionLevel="signature" />
- <!-- Creates a custom permission so only this app can receive its messages. -->
- <uses-permission android:name="io.appery.project143296.permission.C2D_MESSAGE" />
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.GET_ACCOUNTS" />
- <uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
- <application android:icon="@drawable/appicon" android:label="@string/app_name" android:debuggable="false">
- <activity android:name=".PhoneGapActivity" android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"
- android:screenOrientation="portrait">
- <intent-filter>
- <action android:name="io.appery.project143296.MESSAGE"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- <activity android:name="org.apache.cordova.DroidGap" android:label="@string/app_name" android:screenOrientation="portrait">
- <intent-filter>
- </intent-filter>
- </activity>
- <!-- ZXing activities --> <!-- "landscape" chagned to "portrait" by Jamie at certain locations -->
- <activity android:name="com.google.zxing.client.android.CaptureActivity"
- android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden"
- android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
- android:windowSoftInputMode="stateAlwaysHidden"
- >
- <intent-filter>
- <action android:name="io.appery.project143296.barcodescanner.SCAN" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
- <activity android:name="com.google.zxing.client.android.HelpActivity"
- android:screenOrientation="portrait">
- <intent-filter>
- <action android:name="android.intent.action.VIEW"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- </activity>
- <activity android:name="com.google.zxing.client.android.PreferencesActivity" android:screenOrientation="portrait">
- </activity>
- <activity android:name="com.google.zxing.client.android.share.ShareActivity"
- android:screenOrientation="portrait" >
- <intent-filter>
- <action android:name="com.google.zxing.client.android.SHARE"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- </activity>
- <activity android:name="com.google.zxing.client.android.encode.EncodeActivity" android:screenOrientation="portrait" >
- <intent-filter>
- <action android:name="io.appery.project143296.barcodescanner.ENCODE"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- <!-- This allows us to handle the Share button in Contacts. -->
- <intent-filter>
- <action android:name="android.intent.action.SEND"/>
- <category android:name="android.intent.category.DEFAULT"/>
- <data android:mimeType="text/x-vcard"/>
- </intent-filter>
- <!-- This allows us to handle sharing any plain text . -->
- <intent-filter>
- <action android:name="android.intent.action.SEND"/>
- <category android:name="android.intent.category.DEFAULT"/>
- <data android:mimeType="text/plain"/>
- </intent-filter>
- </activity>
- <activity android:name="com.google.zxing.client.android.book.SearchBookContentsActivity"
- android:screenOrientation="portrait"
- android:configChanges="orientation|keyboardHidden">
- <intent-filter>
- <action android:name="com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- </activity>
- <activity android:name="com.google.zxing.client.android.wifi.WifiActivity"
- android:screenOrientation="portrait"
- android:configChanges="orientation|keyboardHidden">
- </activity>
- <activity android:name="com.google.zxing.client.android.share.BookmarkPickerActivity" android:screenOrientation="portrait" >
- <intent-filter>
- <action android:name="android.intent.action.PICK"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- </activity>
- <activity android:name="com.google.zxing.client.android.share.AppPickerActivity"
- android:configChanges="orientation" android:screenOrientation="portrait" >
- <intent-filter>
- <action android:name="android.intent.action.PICK"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- </activity>
- <!-- Push notifications message activity -->
- <activity android:name="com.phonegap.plugins.pushnotifications.gcm.MessageActivity"/>
- <!--
- BroadcastReceiver that will receive intents from GCM
- services and handle them to the custom IntentService.
- The com.google.android.c2dm.permission.SEND permission is necessary
- so only GCM services can send data messages for the app.
- -->
- <receiver
- android:name="com.google.android.gcm.GCMBroadcastReceiver"
- android:permission="com.google.android.c2dm.permission.SEND" >
- <intent-filter>
- <!-- Receives the actual messages. -->
- <action android:name="com.google.android.c2dm.intent.RECEIVE" />
- <!-- Receives the registration id. -->
- <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
- <category android:name="io.appery.project143296" />
- </intent-filter>
- </receiver>
- <!--
- Application-specific subclass of GCMBaseIntentService that will
- handle received messages.
- By default, it must be named .GCMIntentService, unless the
- application uses a custom BroadcastReceiver that redefines its name.
- -->
- <service android:name=".GCMIntentService" />
- </application>
- </manifest>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement