Skip to content

Commit 7a023c5

Browse files
committed
v2.0.140306
1 parent 3891d2c commit 7a023c5

14 files changed

Lines changed: 33 additions & 15 deletions

File tree

AndroidManifest.xml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.sinpo.xnfc"
4-
android:versionCode="7"
5-
android:versionName="2.0.140303" >
4+
android:versionCode="10"
5+
android:versionName="2.1.140306" >
66

77
<uses-sdk
88
android:minSdkVersion="10"
@@ -28,9 +28,9 @@
2828
<activity
2929
android:name="com.sinpo.xnfc.MainActivity"
3030
android:alwaysRetainTaskState="false"
31+
android:configChanges="orientation|screenSize"
3132
android:label="@string/app_name"
3233
android:launchMode="singleTask"
33-
android:stateNotNeeded="true"
3434
android:windowSoftInputMode="adjustUnspecified|stateAlwaysHidden" >
3535
<intent-filter>
3636
<action android:name="android.intent.action.MAIN" />
@@ -39,17 +39,12 @@
3939
</intent-filter>
4040
<intent-filter>
4141
<action android:name="android.nfc.action.TECH_DISCOVERED" />
42+
<action android:name="android.nfc.action.TAG_DISCOVERED" />
4243
</intent-filter>
4344

4445
<meta-data
4546
android:name="android.nfc.action.TECH_DISCOVERED"
4647
android:resource="@xml/nfc_tech_filter" />
47-
48-
<intent-filter>
49-
<action android:name="android.nfc.action.TAG_DISCOVERED" />
50-
51-
<category android:name="android.intent.category.DEFAULT" />
52-
</intent-filter>
5348
</activity>
5449
</application>
5550

res/drawable-hdpi/share.png

647 Bytes
Loading

res/drawable-mdpi/share.png

472 Bytes
Loading

res/drawable-xhdpi/share.png

785 Bytes
Loading

res/drawable-xxhdpi/back.png

865 Bytes
Loading

res/drawable-xxhdpi/copy.png

470 Bytes
Loading

res/drawable-xxhdpi/reset.png

781 Bytes
Loading

res/drawable-xxhdpi/share.png

1.07 KB
Loading

res/layout/activity_main.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@
4747
android:contentDescription="@null"
4848
android:onClick="onCopyPageContent"
4949
android:src="@drawable/copy" />
50+
51+
<ImageButton
52+
android:id="@+id/btnShare"
53+
style="@style/toolButton"
54+
android:layout_marginLeft="@dimen/padding_default"
55+
android:contentDescription="@null"
56+
android:onClick="onSharePageContent"
57+
android:src="@drawable/share" />
5058

5159
<ImageButton
5260
android:id="@+id/btnReset"

res/values-zh-rCN/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
<br />NFCard使用手机NFC读取非接触式IC卡中的信息。<br />
7373
<br />支持ISO7816-4、Felica智能卡,用来读取电子钱包(主要是公交卡)中没有设置读取限制的余额、交易记录。<br />
7474
<br />已经确认可以读出的卡片有:深圳通卡(新版)、上海公交卡、香港八达通卡、北京市政一卡通(新版)、西安长安通卡、武汉城市一卡通、银联闪付卡。<br />
75-
<br />如需支持更多卡片,推荐使用<a href="https://play.google.com/store/apps/details?id=me.pengpeng.ppme">碰碰米</a>。<br />
7675
<br />本程序免费、开源。允许自由传播和修改,具体的规则请遵照自由软件基金会的通用公共授权第三版(GUN GPLv3),参见 <a href="http://www.gnu.org/licenses/">www.gnu.org/licenses</a>。<br />
7776
<br />最新版的程序和源代码可以从<a href="http://code.google.com/p/nfcard/">code.google.com/p/nfcard</a>获取。<br />
7877
<br />作者:<a href="mailto:sinpowei@gmail.com">sinpowei</a>, 2014.

0 commit comments

Comments
 (0)