Blame view

app/src/main/AndroidManifest.xml 1.64 KB
dd839264   badetitou   All done
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  <?xml version="1.0" encoding="utf-8"?>
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="net.plil.clubinfo.etunicorn">
  
      <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:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme">
          <activity
              android:name=".app.LoginActivity"
              android:label="@string/app_name">
              <intent-filter>
                  <action android:name="android.intent.action.MAIN" />
  
                  <category android:name="android.intent.category.LAUNCHER" />
              </intent-filter>
          </activity>
  
          <activity
              android:name=".app.MainActivity"
              android:label="@string/title_activity_main"
              android:theme="@style/AppTheme.NoActionBar" >
              <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
                  android:resource="@xml/tech" />
              <intent-filter>
                  <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
                  <category android:name="android.intent.category.DEFAULT"/>
              </intent-filter>
              <intent-filter>
                  <action android:name="android.nfc.action.TECH_DISCOVERED"/>
                  <category android:name="android.intent.category.DEFAULT"/>
              </intent-filter>
          </activity>
      </application>
  
  </manifest>