- 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
38 lines
931 B
Groovy
38 lines
931 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.1"
|
|
|
|
defaultConfig {
|
|
applicationId "com.vsmartcard.remotesmartcardreader.app"
|
|
// NFC reader mode was added in KitKat
|
|
minSdkVersion 19
|
|
targetSdkVersion 23
|
|
versionCode 4
|
|
versionName "2.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
testCompile 'junit:junit:4.12'
|
|
compile 'com.android.support:appcompat-v7:23.2.1'
|
|
compile 'com.android.support:design:23.2.1'
|
|
compile 'com.android.support:support-v4:23.2.1'
|
|
|
|
compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
|
|
compile 'com.google.zxing:core:3.2.1'
|
|
}
|