samonsun / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

Samsung S3: SmartcardService.apk 0 bytes #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

I recently started developing an Android app that talks to an applet on the 
SIM. I have the ACF file provisioned with my app signing certificate hash as 
per GP Access Control Rules specification(basically SHA-1 of the certificate 
hash). I created this certificate using the Android tool in Eclipse. 

However I am getting a "Connection Refused!" exception. On inspecting running 
apps in android-> settings, I discovered that the Smartcardservice, service, is 
basically 0 bytes. On other devices such as the Galaxy Note 3 and S4, the 
service is running with a size of approx 8-14 KB. So it appears as if the 
service is not running. I'm getting the exception when opening a logical 
channel to my applet using a proprietary AID. Is there enough reason to believe 
that this could be caused due to that fact that the smartcard service size is 
0bytes? (not running?)

Since it's mentioned on the wiki that the S3 is supported, I was wondering 
whether anyone else has encountered a similar issue on the S3 and/or if there 
is a way to resolve it. 

Appreciate the help. 

Thanks. 

Original issue reported on code.google.com by ada...@gmail.com on 21 Nov 2013 at 10:20

GoogleCodeExporter commented 9 years ago
p.s., I'm using a PKCS#15 ACF applet on the SIM

Original comment by ada...@gmail.com on 21 Nov 2013 at 10:24

GoogleCodeExporter commented 9 years ago
Just confirmed that this does not matter. I'm able to communicate with the UICC 
even though this is 0 bytes. Connection refused was because of incorrect ACF 
rules. 

Original comment by ada...@gmail.com on 30 Jan 2014 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by marc.obr...@gi-de.com on 19 Mar 2014 at 4:39