Blame view

PremiereActivite/app/src/main/AndroidManifest.xml 1.87 KB
4abf4602   Florian Deze   Début Interface g...
1
2
  <?xml version="1.0" encoding="utf-8"?>
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
c8059613   JLo'w   Re-fonte de l'app...
3
      package="com.example.app_10p5">
4abf4602   Florian Deze   Début Interface g...
4
  
b3d818d0   JLo'w   Mise a jour du ma...
5
6
7
8
      <uses-permission android:name="android.permission.NFC" />
      <uses-sdk android:minSdkVersion="22"/>
      <uses-feature android:name="android.hardware.nfc" android:required="true" />
  
4abf4602   Florian Deze   Début Interface g...
9
10
11
12
13
14
15
      <application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme">
          <activity
c8059613   JLo'w   Re-fonte de l'app...
16
17
              android:name="com.example.app_10p5.MainActivite"
              android:label="10p5">
4abf4602   Florian Deze   Début Interface g...
18
19
              <intent-filter>
                  <action android:name="android.intent.action.MAIN" />
4abf4602   Florian Deze   Début Interface g...
20
21
22
                  <category android:name="android.intent.category.LAUNCHER" />
              </intent-filter>
          </activity>
c8059613   JLo'w   Re-fonte de l'app...
23
24
25
26
27
28
          <activity
              android:name="com.example.app_10p5.CarteActivite"
              android:label="CarteActivite"
              android:parentActivityName="com.example.app_10p5.MainActivite" >
              <meta-data
                  android:name="android.support.PARENT_ACTIVITY"
b3d818d0   JLo'w   Mise a jour du ma...
29
30
31
32
33
34
35
36
37
38
39
                  android:value="com.example.app_10p5.MainActivite"
                  android:resource="@xml/tech" />
              <intent-filter> <!-- Prioritaire mais je n'ai pas réussi à le faire fonctionner -->
                  <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
                  <category android:name="android.intent.category.DEFAULT"/>
                  <data android:mimeType="text/plain" />
              </intent-filter>
              <intent-filter> <!-- Regardé juste après les NDEF -->
                  <action android:name="android.nfc.action.TECH_DISCOVERED"/>
                  <category android:name="android.intent.category.DEFAULT"/>
              </intent-filter>
c8059613   JLo'w   Re-fonte de l'app...
40
41
          </activity>
  
4abf4602   Florian Deze   Début Interface g...
42
43
      </application>
  
c8059613   JLo'w   Re-fonte de l'app...
44
  </manifest>