Home | History | Annotate | Download | only in AndroidBeamDemo
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2011, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     21         package="com.example.android.beam"
     22         android:versionCode="1"
     23         android:versionName="1.0">
     24     <uses-permission android:name="android.permission.NFC" />
     25     <uses-sdk android:minSdkVersion="14" />
     26     <uses-feature android:name="android.hardware.nfc" />
     27     <application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
     28         <activity android:name="com.example.android.beam.Beam"
     29                 android:label="@string/app_name"
     30                 android:launchMode="singleTop">
     31             <intent-filter>
     32                 <action android:name="android.intent.action.MAIN" />
     33                 <category android:name="android.intent.category.LAUNCHER" />
     34             </intent-filter>
     35             <intent-filter>
     36                 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
     37                 <category android:name="android.intent.category.DEFAULT" />
     38                 <data android:mimeType="application/com.example.android.beam" />
     39             </intent-filter>
     40         </activity>
     41     </application>
     42 </manifest>
     43