-
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.
Added Pcscdroid to applications. (Ported version of pcsc-lite with ms…
…c and ccid support + libusb)
- Loading branch information
1 parent
e2e8905
commit 7b893f8
Showing
523 changed files
with
368,418 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.gieseckedevrient.android.pcscdroid" | ||
android:versionCode="1" | ||
android:versionName="1.0" > | ||
|
||
<uses-sdk | ||
android:minSdkVersion="15" | ||
android:targetSdkVersion="15" /> | ||
|
||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
|
||
<application | ||
android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" > | ||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/title_activity_main" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
|
||
</activity> | ||
|
||
<service android:name=".PcscService" > | ||
</service> | ||
</application> | ||
|
||
</manifest> |
6 changes: 6 additions & 0 deletions
6
applications/pcscdroid/gen/com/gieseckedevrient/android/pcscdroid/BuildConfig.java
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,6 @@ | ||
/** Automatically generated file. DO NOT MODIFY */ | ||
package com.gieseckedevrient.android.pcscdroid; | ||
|
||
public final class BuildConfig { | ||
public final static boolean DEBUG = true; | ||
} |
58 changes: 58 additions & 0 deletions
58
applications/pcscdroid/gen/com/gieseckedevrient/android/pcscdroid/R.java
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,58 @@ | ||
/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
* | ||
* This class was automatically generated by the | ||
* aapt tool from the resource data it found. It | ||
* should not be modified by hand. | ||
*/ | ||
|
||
package com.gieseckedevrient.android.pcscdroid; | ||
|
||
public final class R { | ||
public static final class attr { | ||
} | ||
public static final class drawable { | ||
public static final int ic_action_search=0x7f020000; | ||
public static final int ic_launcher=0x7f020001; | ||
} | ||
public static final class id { | ||
public static final int menu_settings=0x7f080001; | ||
public static final int pager=0x7f080000; | ||
} | ||
public static final class layout { | ||
public static final int activity_main=0x7f030000; | ||
} | ||
public static final class menu { | ||
public static final int activity_main=0x7f070000; | ||
} | ||
public static final class raw { | ||
public static final int info_plist=0x7f040000; | ||
public static final int libccid_so=0x7f040001; | ||
public static final int libifdmsc_so=0x7f040002; | ||
public static final int libpcsclite_so=0x7f040003; | ||
public static final int lsusb=0x7f040004; | ||
public static final int mscpath_conf=0x7f040005; | ||
public static final int pcscd=0x7f040006; | ||
public static final int pcscd_msconly=0x7f040007; | ||
public static final int reader_conf=0x7f040008; | ||
public static final int testpcsc=0x7f040009; | ||
public static final int testpcsc_linked=0x7f04000a; | ||
public static final int testpcsc_msconly=0x7f04000b; | ||
} | ||
public static final class string { | ||
public static final int app_name=0x7f050000; | ||
public static final int hello_world=0x7f050004; | ||
public static final int local_service_connected=0x7f05000a; | ||
public static final int local_service_disconnected=0x7f05000b; | ||
public static final int local_service_label=0x7f050009; | ||
public static final int local_service_started=0x7f050007; | ||
public static final int local_service_stopped=0x7f050008; | ||
public static final int menu_settings=0x7f050005; | ||
public static final int title_activity_main=0x7f050006; | ||
public static final int title_log=0x7f050002; | ||
public static final int title_servicestatus=0x7f050003; | ||
public static final int title_settings=0x7f050001; | ||
} | ||
public static final class style { | ||
public static final int AppTheme=0x7f060000; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,15 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := msc | ||
LOCAL_SRC_FILES := libmsc.so | ||
LOCAL_LDLIBS := -llog -L$(SYSROOT)/usr/lib | ||
|
||
include $(PREBUILT_SHARED_LIBRARY) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
include $(LOCAL_PATH)/pcsc-lite-1.8.6/Android.mk \ | ||
$(LOCAL_PATH)/libusb-1.0.3/Android.mk \ | ||
$(LOCAL_PATH)/ccid-1.4.7/Android.mk |
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 @@ | ||
Ludovic Rousseau <[email protected]> |
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,58 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
common_cflags := \ | ||
-DANDROID \ | ||
-DHAVE_CONFIG_H | ||
|
||
|
||
include $(CLEAR_VARS) | ||
LOCAL_C_INCLUDES := \ | ||
$(LOCAL_PATH) \ | ||
$(LOCAL_PATH)/src \ | ||
$(LOCAL_PATH)/../pcsc-lite-1.8.6/src/PCSC \ | ||
$(LOCAL_PATH)/../pcsc-lite-1.8.6/src/ \ | ||
$(LOCAL_PATH)/../libusb-1.0.3/libusb \ | ||
$(LOCAL_PATH)/../libusb-1.0.3/libusb/os | ||
|
||
LOCAL_SRC_FILES:= \ | ||
src/ccid.c \ | ||
src/ccid.h \ | ||
src/ccid_ifdhandler.h \ | ||
src/commands.c \ | ||
src/commands.h \ | ||
src/debug.h \ | ||
src/defs.h \ | ||
src/ifdhandler.c \ | ||
src/utils.c \ | ||
src/utils.h \ | ||
src/ccid_usb.c \ | ||
src/ccid_usb.h \ | ||
src/towitoko/atr.c \ | ||
src/towitoko/atr.h \ | ||
src/towitoko/defines.h \ | ||
src/towitoko/pps.c \ | ||
src/towitoko/pps.h \ | ||
src/openct/buffer.c \ | ||
src/openct/buffer.h \ | ||
src/openct/checksum.c \ | ||
src/openct/checksum.h \ | ||
src/openct/proto-t1.c \ | ||
src/openct/proto-t1.h \ | ||
src/tokenparser.c \ | ||
src/parser.h \ | ||
src/strlcpy.c \ | ||
src/misc.h \ | ||
src/strlcpycat.h \ | ||
src/debug.c \ | ||
src/debug.h | ||
|
||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ | ||
|
||
LOCAL_MODULE_TAGS = eng | ||
LOCAL_MODULE:= libccid | ||
LOCAL_SHARED_LIBRARIES := libc libdl libpcsclite | ||
LOCAL_STATIC_LIBRARIES := libusb | ||
LOCAL_PRELINK_MODULE := false | ||
include $(BUILD_SHARED_LIBRARY) | ||
|
||
|
Oops, something went wrong.