<?xml version="1.0" encoding="utf-8"?>

<manifest 
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.dnieadmin"
    android:versionCode="1"
    android:versionName="1.2" >

    <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="21" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.NFC"/>
    <uses-feature android:name="android.hardware.nfc" android:required="true" />
    
    <application
        android:name=".MyAppDNIEADMIN"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme"
        android:allowBackup="true">
        <activity 
            android:name=".DNIeAdmin"
            android:label="@string/app_title_dgt"
            android:screenOrientation="portrait" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name=".NFCOperationsEnc" 
            android:label = "@string/app_title_nfc"
            android:screenOrientation = "portrait"
            android:launchMode="singleTask"
            android:enabled = "false">
            <intent-filter>
                <action android:name="android.nfc.action.TAG_DISCOVERED"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
            <meta-data 
                android:name="android.nfc.action.TAG_DISCOVERED"
                android:resource="@xml/filter_nfc"
            />  
        </activity>

        <activity android:name=".NFCOperationsEncKitKat"
            android:label = "@string/app_title_nfc"
            android:screenOrientation = "portrait"/>  
            
        <activity android:name=".DNIeCanSelection"  
            android:label = "@string/app_title_dgt_can"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan"/>
        
        <activity android:name=".DNIeReader"  
            android:label = "@string/app_title_dgt_puntos"
            android:screenOrientation="portrait"/>
            
        <activity android:name=".SocketOperations"  
            android:label = "@string/app_title_dgt_portal"
            android:screenOrientation="portrait"/>

        <activity android:name=".MyWebView"
            android:label = "@string/app_title_dgt_portal"
            android:screenOrientation="portrait"/>
        
    </application>

</manifest>