Advertisement
JamieMontreal

20140309 - My AndroidManifest.xml file

Mar 9th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- When updating on Googe Play Store, manually change "android:versionCode" -->
  3. <!-- Reference - https://getsatisfaction.com/apperyio/topics/android_version_number_change_will_not_save -->
  4. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  5.      android:versionCode="7"
  6.      android:versionName="0.20140308b" package="io.appery.project143296">
  7.     <!-- GCM requires Android SDK version 2.2 (API level 8) or above. -->
  8.     <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>
  9.  
  10.  
  11.     <supports-screens android:largeScreens="true"
  12.         android:normalScreens="true" android:smallScreens="true"
  13.         android:resizeable="true" android:anyDensity="true" />
  14.    
  15.     <permission android:name="io.appery.project143296.permission.C2D_MESSAGE"
  16.        android:protectionLevel="signature" />
  17.     <!-- Creates a custom permission so only this app can receive its messages. -->
  18.     <uses-permission android:name="io.appery.project143296.permission.C2D_MESSAGE" />
  19.    
  20.    
  21.     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  22.     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  23.     <uses-permission android:name="android.permission.INTERNET" />
  24.     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
  25.     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />   
  26.    
  27.     <application android:icon="@drawable/appicon" android:label="@string/app_name" android:debuggable="false">
  28.         <activity android:name=".PhoneGapActivity" android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"  
  29.                  android:screenOrientation="portrait">
  30.             <intent-filter>
  31.                 <action android:name="io.appery.project143296.MESSAGE"/>
  32.                 <category android:name="android.intent.category.DEFAULT"/>
  33.             </intent-filter>
  34.             <intent-filter>
  35.                 <action android:name="android.intent.action.MAIN" />
  36.                 <category android:name="android.intent.category.LAUNCHER" />
  37.             </intent-filter>
  38.         </activity>
  39.         <activity android:name="org.apache.cordova.DroidGap" android:label="@string/app_name" android:screenOrientation="portrait">
  40.             <intent-filter>
  41.             </intent-filter>
  42.         </activity>
  43.         <!-- ZXing activities -->  <!-- "landscape" chagned to "portrait" by Jamie at certain locations -->
  44.         <activity android:name="com.google.zxing.client.android.CaptureActivity"
  45.             android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden"  
  46.             android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  47.             android:windowSoftInputMode="stateAlwaysHidden"
  48.             >
  49.             <intent-filter>
  50.                 <action android:name="io.appery.project143296.barcodescanner.SCAN" />
  51.                 <category android:name="android.intent.category.DEFAULT" />
  52.             </intent-filter>
  53.         </activity>    
  54.         <activity android:name="com.google.zxing.client.android.HelpActivity"
  55.              android:screenOrientation="portrait">
  56.             <intent-filter>
  57.                 <action android:name="android.intent.action.VIEW"/>
  58.                 <category android:name="android.intent.category.DEFAULT"/>
  59.             </intent-filter>
  60.         </activity>
  61.          <activity android:name="com.google.zxing.client.android.PreferencesActivity" android:screenOrientation="portrait">
  62.         </activity>
  63.         <activity android:name="com.google.zxing.client.android.share.ShareActivity"              
  64.              android:screenOrientation="portrait" >
  65.             <intent-filter>
  66.                 <action android:name="com.google.zxing.client.android.SHARE"/>
  67.                 <category android:name="android.intent.category.DEFAULT"/>
  68.             </intent-filter>
  69.           </activity>
  70.           <activity android:name="com.google.zxing.client.android.encode.EncodeActivity" android:screenOrientation="portrait" >
  71.                 <intent-filter>
  72.                     <action android:name="io.appery.project143296.barcodescanner.ENCODE"/>
  73.                     <category android:name="android.intent.category.DEFAULT"/>
  74.                 </intent-filter>
  75.           <!-- This allows us to handle the Share button in Contacts. -->
  76.                 <intent-filter>
  77.                     <action android:name="android.intent.action.SEND"/>
  78.                     <category android:name="android.intent.category.DEFAULT"/>
  79.                     <data android:mimeType="text/x-vcard"/>
  80.                 </intent-filter>
  81.           <!-- This allows us to handle sharing any plain text . -->
  82.                 <intent-filter>
  83.                     <action android:name="android.intent.action.SEND"/>
  84.                     <category android:name="android.intent.category.DEFAULT"/>
  85.                     <data android:mimeType="text/plain"/>
  86.                 </intent-filter>
  87.         </activity>
  88.         <activity android:name="com.google.zxing.client.android.book.SearchBookContentsActivity"              
  89.                   android:screenOrientation="portrait"
  90.                   android:configChanges="orientation|keyboardHidden">
  91.                 <intent-filter>
  92.                     <action android:name="com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"/>
  93.                     <category android:name="android.intent.category.DEFAULT"/>
  94.                 </intent-filter>
  95.         </activity>
  96.         <activity android:name="com.google.zxing.client.android.wifi.WifiActivity"              
  97.                   android:screenOrientation="portrait"
  98.                   android:configChanges="orientation|keyboardHidden">
  99.         </activity>
  100.         <activity android:name="com.google.zxing.client.android.share.BookmarkPickerActivity" android:screenOrientation="portrait" >
  101.                 <intent-filter>
  102.                     <action android:name="android.intent.action.PICK"/>
  103.                     <category android:name="android.intent.category.DEFAULT"/>
  104.                 </intent-filter>
  105.         </activity>
  106.         <activity android:name="com.google.zxing.client.android.share.AppPickerActivity"              
  107.                   android:configChanges="orientation" android:screenOrientation="portrait" >
  108.                 <intent-filter>
  109.                     <action android:name="android.intent.action.PICK"/>
  110.                     <category android:name="android.intent.category.DEFAULT"/>
  111.                 </intent-filter>
  112.         </activity>  
  113.         <!-- Push notifications message activity -->
  114.         <activity android:name="com.phonegap.plugins.pushnotifications.gcm.MessageActivity"/>
  115.        
  116.         <!--
  117.          BroadcastReceiver that will receive intents from GCM
  118.          services and handle them to the custom IntentService.
  119.  
  120.          The com.google.android.c2dm.permission.SEND permission is necessary
  121.          so only GCM services can send data messages for the app.
  122.        -->
  123.         <receiver
  124.            android:name="com.google.android.gcm.GCMBroadcastReceiver"
  125.            android:permission="com.google.android.c2dm.permission.SEND" >
  126.             <intent-filter>
  127.                 <!-- Receives the actual messages. -->
  128.                 <action android:name="com.google.android.c2dm.intent.RECEIVE" />
  129.                 <!-- Receives the registration id. -->
  130.                 <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
  131.                 <category android:name="io.appery.project143296" />
  132.             </intent-filter>
  133.         </receiver>
  134.  
  135.         <!--
  136.          Application-specific subclass of GCMBaseIntentService that will
  137.          handle received messages.
  138.  
  139.          By default, it must be named .GCMIntentService, unless the
  140.          application uses a custom BroadcastReceiver that redefines its name.
  141.        -->
  142.         <service android:name=".GCMIntentService" />
  143.     </application>
  144.  
  145. </manifest>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement