forked from ValleZ/Ticket-Info
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- README updated - Build configuration changed. It allow to make 3 version of android package (release, betta and alfa) with differnt package name from one source tree - Low level calls to NFC changed from MifareUltralight to NfcA. It allow to read JSC Micron made tickets.
- Loading branch information
Mikhail Basov (aka mvb)
committed
Nov 24, 2015
1 parent
2e121ce
commit 6e57140
Showing
18 changed files
with
109 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Date: Tue Nov 24 19:28:57 2015 +0300, commit 2e121ceec8cd278ec4497b920971678bada56378 | ||
|
||
- Project converted to modern Android Studio (v1.5) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
This is Android application to see what inside Moscow trasportation system tickets. | ||
|
||
Tis project is update to actual state of another [old project](https://github.com/ValleZ/Ticket-Info.git) | ||
|
||
This project has no value as Android application because several projects with better functionality exist in Android Market now. | ||
This project interesting as open source example of working with NFC and for understanding "How things made" (about Moscow transportation system tickets) | ||
|
||
source files encoding is utf-8 | ||
|
||
Author of original project said: | ||
> I live in california now, so I can not update the app. | ||
I doing my best to make this project actual. | ||
|
||
Some restrictions exist: | ||
|
||
* Work only with "paper" tickets (Mifare Ultralight and modern Micron JSC). It because new android phones use NFC chip with reduced functionality. Modern Broadcom NFC chip can't read Mifare Classic 1K (Troika ticket based on it) | ||
* All information for this project gathered by reverce engeneering and information may be not correct. I don't know official source of information about tickets format and used chips. | ||
|
||
### Version numbering: | ||
|
||
* 2.00 - alfa version, very unstable, experimental | ||
* 2.00b - betta version, based on alfa version with the same number, more stable | ||
* 2.00r - stable release | ||
|
||
I will never create release version for this application. This projech has no value as application (see below) | ||
|
||
### Last changes: | ||
|
||
- Version changed 1.01 -> 2.00 | ||
- README updated | ||
- Build configuration changed. | ||
It allow to make 3 version of android package (release, betta and alfa) with differnt package name from one source tree | ||
- Low level calls to NFC changed from MifareUltralight to NfcA. It allow to read JSC Micron made tickets. | ||
|
||
You can see [full change log](CHANHELOG.md) | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,57 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
applicationVariants.all { variant -> | ||
variant.outputs.each { output -> | ||
def outputFile = output.outputFile | ||
if (outputFile != null && outputFile.name.endsWith('.apk')) { | ||
def fileName = "Ticket-Info." + versionName + ".apk" | ||
output.outputFile = new File(outputFile.parent, fileName) | ||
} | ||
} | ||
} | ||
signingConfigs { | ||
release { | ||
keyAlias 'mvb_key' | ||
storeFile file('../../.keys/mvb-release.keystore') | ||
} | ||
debug { | ||
storeFile file('../../.keys/mvb-debug.keystore') | ||
keyAlias 'androiddebugkey' | ||
keyPassword 'android' | ||
storePassword 'android' | ||
} | ||
} | ||
compileSdkVersion 15 | ||
buildToolsVersion "23.0.1" | ||
|
||
defaultConfig { | ||
applicationId "ru.valle.tickets" | ||
minSdkVersion 10 | ||
targetSdkVersion 10 | ||
versionCode 200 | ||
versionName '2.00' | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
zipAlignEnabled true | ||
applicationIdSuffix '.r' | ||
versionNameSuffix 'r' | ||
signingConfig signingConfigs.release | ||
} | ||
betta { | ||
applicationIdSuffix '.b' | ||
versionNameSuffix 'b' | ||
debuggable true | ||
signingConfig signingConfigs.debug | ||
} | ||
debug { | ||
signingConfig signingConfigs.debug | ||
} | ||
} | ||
productFlavors { | ||
} | ||
} | ||
|
||
dependencies { | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters