Guest User

maniest

a guest
Apr 5th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2009 The Android Open Source Project
  3.  
  4.     Licensed under the Apache License, Version 2.0 (the "License");
  5.     you may not use this file except in compliance with the License.
  6.     You may obtain a copy of the License at
  7.  
  8.          http://www.apache.org/licenses/LICENSE-2.0
  9.  
  10.     Unless required by applicable law or agreed to in writing, software
  11.     distributed under the License is distributed on an "AS IS" BASIS,
  12.     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.     See the License for the specific language governing permissions and
  14.     limitations under the License.
  15. -->
  16. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  17.      android:versionCode="100" android:versionName="1.0" package="com.magtek.mobile.android.MagTekDemo.Dynamag">
  18.     <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="12"/>
  19.      
  20.     <supports-screens android:smallScreens="true"
  21.                       android:largeScreens="true"
  22.                       android:normalScreens="true"
  23.                       android:anyDensity="false" />
  24.     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
  25.  
  26.     <application android:label="@string/app_name" android:icon="@drawable/app_icon" >
  27.         <activity android:name=".MagTekDemo" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden" android:launchMode="singleTask">
  28.             <intent-filter>
  29.                 <action android:name="android.intent.action.MAIN" />
  30.                 <category android:name="android.intent.category.DEFAULT" />
  31.                 <category android:name="android.intent.category.LAUNCHER" />
  32.             </intent-filter>
  33.            
  34.             <intent-filter>
  35.                 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
  36.                 <action android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
  37.             </intent-filter>
  38.  
  39.             <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" android:resource="@xml/device_filter" />
  40.             <meta-data android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" android:resource="@xml/device_filter" />             
  41.         </activity>
  42.  
  43.        
  44.     </application> 
  45.    
  46.     <uses-feature android:name="android.hardware.usb.host" />
  47. </manifest>
Advertisement
Add Comment
Please, Sign In to add comment