Skip to content

Commit

Permalink
source repository migrate from google code to github
Browse files Browse the repository at this point in the history
  • Loading branch information
sinpowei committed May 8, 2015
1 parent 6e9b24c commit fb1fd9d
Show file tree
Hide file tree
Showing 8 changed files with 700 additions and 10 deletions.
6 changes: 3 additions & 3 deletions AndroidManifest.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sinpo.nfcspy"
android:versionCode="4"
android:versionName="1.0.140907" >
android:versionCode="6"
android:versionName="1.0.150507" >

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
android:targetSdkVersion="22" />

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Expand Down
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions README.md
@@ -1,9 +1,10 @@
# nfcspy
# NFC Spy

NFC Spy is an Android app, It can watch APDUs transceived between reader and contactless smart card.

The latest version will be published in https://play.google.com/store/apps/details?id=com.sinpo.nfcspy

---------------------------------------------------------------------------
-------

This is useful for NFC/HCE developer to learn about the underlying communication protocol, debugging equential error, etc. However, you should NOT use it for illegal acts, or you will be solely responsible for any consequences thereof. In addition, this app may be need to root/modify your system to work better, please be careful when doing this, and again, Developer of this app do NOT accept any responsibility.

Expand All @@ -26,3 +27,12 @@ If you also installed other HCE apps, you may see multiple items in the 'Tap & P
Android's HCE architecture use HCE service to implement card emulation, every service need to declare AIDs it will respone when card reader select application by aid. This leads to three problems, first, only ISO14443-A/ISO7816 compatible smart card can be emulated, second is NFC Spy can only handle limited card type, the last is HCE only works with card reader which send a stardard ISO7816 SELECT NAME/AID command as the first APDU.

The first problem can NOT be resolved for the time being, unless you switch to other implemention of card emulation such as some versions of CyanogenMod?, but what will be another story. To solve the second, you can use a rooted phone with Xposed framework, add NFC Spy or 'NFC Card-Emulation Catch-All Routing' mod. To solve the last one, you may need a custom ROM which has modified system libaray.



License
-------
NFC Spy is licensed under GNU GPLv3 - see the ``LICENSE`` file.



2 changes: 1 addition & 1 deletion proguard.cfg
Expand Up @@ -7,7 +7,7 @@
-verbose
-printconfiguration
-printseeds
-libraryjars /code/android/XposedMods-master/XposedLibrary/XposedBridgeApi.jar
-libraryjars XposedBridgeApi.jar

-keep public class ** extends android.app.Activity

Expand Down
2 changes: 1 addition & 1 deletion project.properties
Expand Up @@ -12,4 +12,4 @@

proguard.config=proguard.cfg
# Project target.
target=android-19
target=android-22
4 changes: 3 additions & 1 deletion res/values-zh-rCN/strings.xml
Expand Up @@ -66,7 +66,9 @@
<string name="info_about">
<![CDATA[
<div>NFC Spy 用来查看读卡器和智能卡之间的指令、数据的交互传输过程。<p />
作者:<a href="mailto:sinpowei@gmail.com">sinpowei</a>,2014<div>
<br />本程序免费、开源。允许自由传播和修改,具体的规则请遵照自由软件基金会的通用公共授权第三版(GNU GPLv3),参见 <a href="http://www.gnu.org/licenses/gpl.txt">www.gnu.org/licenses/gpl.txt</a>。<br />
<br />最新版的程序和源代码可以从<a href="https://github.com/sinpolib/nfcspy/">github.com/sinpolib/nfcspy</a>获取。<br />
<br />作者:<a href="mailto:sinpowei@gmail.com">Sinpo Lib</a>,2015<div>
]]>
</string>

Expand Down
4 changes: 3 additions & 1 deletion res/values-zh-rTW/strings.xml
Expand Up @@ -66,7 +66,9 @@
<string name="info_about">
<![CDATA[
<div>NFC Spy用來偵測 Reader 與智能卡之間的數據傳送。<p />
作者:<a href="mailto:sinpowei@gmail.com">sinpowei</a>,2014<div>
<br />本程式免費、代碼公開。允許自由傳播和修改,具體的規則請遵照自由軟體基金會的通用公眾授權條款第三版(GNU GPLv3),參見 <a href="http://www.gnu.org/licenses/gpl.txt">www.gnu.org/licenses/gpl.txt</a>。<br />
<br />最新版的程式和代碼可以從<a href="https://github.com/sinpolib/nfcspy/">github.com/sinpolib/nfcspy</a>獲取。<br />
<br />作者:<a href="mailto:sinpowei@gmail.com">Sinpo Lib</a>,2015<div>
]]>
</string>

Expand Down
4 changes: 3 additions & 1 deletion res/values/strings.xml
Expand Up @@ -66,7 +66,9 @@
<string name="info_about">
<![CDATA[
<div>NFC Spy make it easy to watch APDUs transceived between reader and contactless smart card. <p />
By <a href="mailto:sinpowei@gmail.com">sinpowei</a>, 2014. <div>
<br />This is a free and opensource software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, Either version 3 of the license, or (at your option) any later version. See <a href="http://www.gnu.org/licenses/gpl.txt">www.gnu.org/licenses/gpl.txt</a>.<br />
<br />Newest version and source code can be found at <a href="https://github.com/sinpolib/nfcspy/">github.com/sinpolib/nfcspy</a><br />
<br />By <a href="mailto:sinpowei@gmail.com">Sinpo Lib</a>, 2015. <div>
]]>
</string>

Expand Down

0 comments on commit fb1fd9d

Please sign in to comment.