3b4832fefe
This simplifies both activities by making the DisplayMessageActity simple text message displaying operation and the NFC activity as something that is started only through NFC intent triggers. Signed-hostap: Jouni Malinen <j@w1.fi>
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="w1.fi.wpadebug"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17" />
|
|
<uses-permission android:name="android.permission.NFC" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
<application android:label="wpadebug">
|
|
<activity android:name="w1.fi.wpadebug.MainActivity"
|
|
android:label="wpadebug">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.DisplayMessageActivity"
|
|
android:label="Operation result"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.WpaNfcActivity"
|
|
android:label="wpa_supplicant NFC operation"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
<intent-filter>
|
|
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="application/vnd.wfa.wsc" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|