- use material design - use AsyncTask instead of Runnable for VPCDWorker to integrate with the App's lifecycle - use a dedicated Preference Activity - integrated zxing's QR code scanner - use Snackbar instead of Toast - capture debug messages in log instead of explicitly passing messages - use reader mode only, breaks support of Android before kitkat
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.vsmartcard.remotesmartcardreader.app" >
|
|
|
|
<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="com.vsmartcard.remotesmartcardreader.app.MainActivity"
|
|
android:launchMode="singleTask"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/AppTheme.NoActionBar" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.nfc.action.TECH_DISCOVERED" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.nfc.action.TECH_DISCOVERED"
|
|
android:resource="@xml/nfc_tech_filter" />
|
|
</activity>
|
|
<activity
|
|
android:name="com.vsmartcard.remotesmartcardreader.app.SettingsActivity"
|
|
android:label="@string/title_activity_settings" >
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data
|
|
android:scheme="@string/scheme_vpcd" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|