Im new to UICC and Secure Elements and I tried to do a simple android
application using this tutorial (http://code.google.com/p/seek-for- android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I
run the application it throw an java.lang.SecurityException:
Connection refused !!!. PLease help.
Thanks
LogCat
05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available
readers...
05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the
first reader...
05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel
within the session...
05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured:
05-18 06:43:08.759: E/HelloSmartcard(3488):
java.lang.SecurityException: Connection refused !!!
05-18 06:43:08.759: E/HelloSmartcard(3488): at
org.simalliance.openmobileapi.SEService.checkForException(SEService.java:
611)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java:
479)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java:
143)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
com.gieseckedevrient.android.hellosmartcard.MainActivity
$1.onClick(MainActivity.java:50)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.view.View.performClick(View.java:2485)
05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View
$PerformClick.run(View.java:9080)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.os.Handler.handleCallback(Handler.java:587)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.os.Handler.dispatchMessage(Handler.java:92)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.os.Looper.loop(Looper.java:130)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.app.ActivityThread.main(ActivityThread.java:3768)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
java.lang.reflect.Method.invokeNative(Native Method)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
java.lang.reflect.Method.invoke(Method.java:507)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:878)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
dalvik.system.NativeStart.main(Native Method)
On Friday, May 18, 2012 12:13:35 PM UTC+5:30, chinna wrote:
> Hi,
> Im new to UICC and Secure Elements and I tried to do a simple android > application using this tutorial (http://code.google.com/p/seek-for- > android/wiki/UsingSmartCardAPI<http://code.google.com/p/seek-for-android/wiki/UsingSmartCardAPI>) > to connect the Secure Elements. When I > run the application it throw an java.lang.SecurityException: > Connection refused !!!. PLease help. > Thanks
> LogCat
> 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available > readers... > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the > first reader... > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel > within the session... > 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured: > 05-18 06:43:08.759: E/HelloSmartcard(3488): > java.lang.SecurityException: Connection refused !!! > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > org.simalliance.openmobileapi.SEService.checkForException(SEService.java: > 611) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java: > 479) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java: > 143) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > com.gieseckedevrient.android.hellosmartcard.MainActivity > $1.onClick(MainActivity.java:50) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > android.view.View.performClick(View.java:2485) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View > $PerformClick.run(View.java:9080) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > android.os.Handler.handleCallback(Handler.java:587) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > android.os.Handler.dispatchMessage(Handler.java:92) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > android.os.Looper.loop(Looper.java:130) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > android.app.ActivityThread.main(ActivityThread.java:3768) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > java.lang.reflect.Method.invokeNative(Native Method) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > java.lang.reflect.Method.invoke(Method.java:507) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:878) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) > 05-18 06:43:08.759: E/HelloSmartcard(3488): at > dalvik.system.NativeStart.main(Native Method)
[mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
Sent: Friday, May 18, 2012 1:44 AM
To: seek-for-android
Subject: [seek-for-android] java.lang.SecurityException: Connection refused
!!!
Hi,
Im new to UICC and Secure Elements and I tried to do a simple android
application using this tutorial (http://code.google.com/p/seek-for- android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I run
the application it throw an java.lang.SecurityException:
Connection refused !!!. PLease help.
Thanks
LogCat
05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available readers...
05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the first
reader...
05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel within
the session...
05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured:
05-18 06:43:08.759: E/HelloSmartcard(3488):
java.lang.SecurityException: Connection refused !!!
05-18 06:43:08.759: E/HelloSmartcard(3488): at
org.simalliance.openmobileapi.SEService.checkForException(SEService.java:
611)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java:
479)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java:
143)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
com.gieseckedevrient.android.hellosmartcard.MainActivity
$1.onClick(MainActivity.java:50)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.view.View.performClick(View.java:2485)
05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View
$PerformClick.run(View.java:9080)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.os.Handler.handleCallback(Handler.java:587)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.os.Handler.dispatchMessage(Handler.java:92)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.os.Looper.loop(Looper.java:130)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
android.app.ActivityThread.main(ActivityThread.java:3768)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
java.lang.reflect.Method.invokeNative(Native Method)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
java.lang.reflect.Method.invoke(Method.java:507)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:878)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
05-18 06:43:08.759: E/HelloSmartcard(3488): at
dalvik.system.NativeStart.main(Native Method)
> Please let me know which device are you using and also the UICC .
> Regards
> On Friday, May 18, 2012 12:13:35 PM UTC+5:30, chinna wrote:
> > Hi,
> > Im new to UICC and Secure Elements and I tried to do a simple android
> > application using this tutorial (http://code.google.com/p/seek-for- > > android/wiki/UsingSmartCardAPI<http://code.google.com/p/seek-for-android/wiki/UsingSmartCardAPI>)
> > to connect the Secure Elements. When I
> > run the application it throw an java.lang.SecurityException:
> > Connection refused !!!. PLease help.
> > Thanks
> > LogCat
> > 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available
> > readers...
> > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the
> > first reader...
> > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel
> > within the session...
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured:
> > 05-18 06:43:08.759: E/HelloSmartcard(3488):
> > java.lang.SecurityException: Connection refused !!!
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > org.simalliance.openmobileapi.SEService.checkForException(SEService.java:
> > 611)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java:
> > 479)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java:
> > 143)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > com.gieseckedevrient.android.hellosmartcard.MainActivity
> > $1.onClick(MainActivity.java:50)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.view.View.performClick(View.java:2485)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View
> > $PerformClick.run(View.java:9080)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.os.Handler.handleCallback(Handler.java:587)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.os.Handler.dispatchMessage(Handler.java:92)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.os.Looper.loop(Looper.java:130)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.app.ActivityThread.main(ActivityThread.java:3768)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > java.lang.reflect.Method.invokeNative(Native Method)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > java.lang.reflect.Method.invoke(Method.java:507)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > com.android.internal.os.ZygoteInit
> > $MethodAndArgsCaller.run(ZygoteInit.java:878)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > dalvik.system.NativeStart.main(Native Method)
> [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
> Sent: Friday, May 18, 2012 1:44 AM
> To: seek-for-android
> Subject: [seek-for-android] java.lang.SecurityException: Connection refused
> !!!
> Hi,
> Im new to UICC and Secure Elements and I tried to do a simple android
> application using this tutorial (http://code.google.com/p/seek-for- > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I run
> the application it throw an java.lang.SecurityException:
> Connection refused !!!. PLease help.
> Thanks
> LogCat
> 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available readers...
> 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the first
> reader...
> 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel within
> the session...
> 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured:
> 05-18 06:43:08.759: E/HelloSmartcard(3488):
> java.lang.SecurityException: Connection refused !!!
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> org.simalliance.openmobileapi.SEService.checkForException(SEService.java:
> 611)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java:
> 479)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java:
> 143)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> com.gieseckedevrient.android.hellosmartcard.MainActivity
> $1.onClick(MainActivity.java:50)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.view.View.performClick(View.java:2485)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View
> $PerformClick.run(View.java:9080)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.os.Handler.handleCallback(Handler.java:587)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.os.Handler.dispatchMessage(Handler.java:92)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.os.Looper.loop(Looper.java:130)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.app.ActivityThread.main(ActivityThread.java:3768)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> java.lang.reflect.Method.invoke(Method.java:507)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:878)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> dalvik.system.NativeStart.main(Native Method)
I guess the Samsung Nexus does not have the RIL libraries which are required for the NFC communication. So it fdoes not allow to connect to the Secure Element. As these libraries are from OEM we cannot download from somewhere and get it working please try with the Sony Xperia seriess (S, sola) etc. it definitely works
> > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna > > Sent: Friday, May 18, 2012 1:44 AM > > To: seek-for-android > > Subject: [seek-for-android] java.lang.SecurityException: Connection > refused > > !!!
> > Hi,
> > Im new to UICC and Secure Elements and I tried to do a simple android > > application using this tutorial (http://code.google.com/p/seek-for- > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I > run > > the application it throw an java.lang.SecurityException: > > Connection refused !!!. PLease help. > > Thanks
> > LogCat
> > 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available > readers... > > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the > first > > reader... > > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel > within > > the session... > > 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured: > > 05-18 06:43:08.759: E/HelloSmartcard(3488): > > java.lang.SecurityException: Connection refused !!! > > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
Hi,
I have the exact same problem with my new Galaxy SIII and a G&D smartcard, no matter if I use the sample app or my application (which ran on older devices).I cannot install the MSC_SmartcardService, since the OS says there's a system app already installed with the same signature.When enumerating the readers, only 1 is found, with or without the G&D card inserted. I guess it is the embedded NFC chip, but I need to access the SD card with my custom applet on it.There must be a way to access the card, but I guess the problem is that I cannot override the default smartcard service. Can you help?
Vincent
Date: Tue, 29 May 2012 21:53:17 -0700
From: dskyl...@gmail.com
To: seek-for-android@googlegroups.com
Subject: [seek-for-android] Re: java.lang.SecurityException: Connection refused !!!
I guess the Samsung Nexus does not have the RIL libraries which are required for the NFC communication. So it fdoes not allow to connect to the Secure Element.As these libraries are from OEM we cannot download from somewhere and get it working please try with the Sony Xperia seriess (S, sola) etc. it definitely works
On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung nexus galaxy
On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
> Sent: Friday, May 18, 2012 1:44 AM
> To: seek-for-android
> Subject: [seek-for-android] java.lang.SecurityException: Connection refused
> !!!
> Hi,
> Im new to UICC and Secure Elements and I tried to do a simple android
> application using this tutorial (http://code.google.com/p/seek-for- > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I run
> the application it throw an java.lang.SecurityException:
> Connection refused !!!. PLease help.
> Thanks
> LogCat
> 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available readers...
> 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the first
> reader...
> 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel within
> the session...
> 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured:
> 05-18 06:43:08.759: E/HelloSmartcard(3488):
> java.lang.SecurityException: Connection refused !!!
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> org.simalliance.openmobileapi.SEService.checkForException(SEService.java:
> 611)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java:
> 479)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java:
> 143)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> com.gieseckedevrient.android.hellosmartcard.MainActivity
> $1.onClick(MainActivity.java:50)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.view.View.performClick(View.java:2485)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View
> $PerformClick.run(View.java:9080)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.os.Handler.handleCallback(Handler.java:587)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.os.Handler.dispatchMessage(Handler.java:92)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.os.Looper.loop(Looper.java:130)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> android.app.ActivityThread.main(ActivityThread.java:3768)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> java.lang.reflect.Method.invoke(Method.java:507)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:878)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
> 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> dalvik.system.NativeStart.main(Native Method)
The S3 contains an access control mechanism that requires the files to
be available on the SIM. If that's not the case or the personalization
is wrong, you'll get a Security Exception.
The readers listed in the S3 is 'SIM: UICC' which is the handle to the
SIM card, MicroSD is not included by Samsung. In order to get access
to the MSC, an addon-terminal for the MSC needs to be provided.
---
Daniel
On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote:
> Hi,
> I have the exact same problem with my new Galaxy SIII and a G&D smartcard, no matter if I use the sample app or my application (which ran on older devices).I cannot install the MSC_SmartcardService, since the OS says there's a system app already installed with the same signature.When enumerating the readers, only 1 is found, with or without the G&D card inserted. I guess it is the embedded NFC chip, but I need to access the SD card with my custom applet on it.There must be a way to access the card, but I guess the problem is that I cannot override the default smartcard service. Can you help?
> Vincent
> I guess the Samsung Nexus does not have the RIL libraries which are required for the NFC communication. So it fdoes not allow to connect to the Secure Element.As these libraries are from OEM we cannot download from somewhere and get it working please try with the Sony Xperia seriess (S, sola) etc. it definitely works
> On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung nexus galaxy
> On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> > What phone are you running your application on?
> > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
> > Sent: Friday, May 18, 2012 1:44 AM
> > To: seek-for-android
> > Subject: [seek-for-android] java.lang.SecurityException: Connection refused
> > !!!
> > Hi,
> > Im new to UICC and Secure Elements and I tried to do a simple android
> > application using this tutorial (http://code.google.com/p/seek-for- > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I run
> > the application it throw an java.lang.SecurityException:
> > Connection refused !!!. PLease help.
> > Thanks
> > LogCat
> > 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available readers...
> > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the first
> > reader...
> > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel within
> > the session...
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured:
> > 05-18 06:43:08.759: E/HelloSmartcard(3488):
> > java.lang.SecurityException: Connection refused !!!
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > org.simalliance.openmobileapi.SEService.checkForException(SEService.java:
> > 611)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > org.simalliance.openmobileapi.SEService.openLogicalChannel(SEService.java:
> > 479)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > org.simalliance.openmobileapi.Session.openLogicalChannel(Session.java:
> > 143)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > com.gieseckedevrient.android.hellosmartcard.MainActivity
> > $1.onClick(MainActivity.java:50)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.view.View.performClick(View.java:2485)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at android.view.View
> > $PerformClick.run(View.java:9080)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.os.Handler.handleCallback(Handler.java:587)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.os.Handler.dispatchMessage(Handler.java:92)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.os.Looper.loop(Looper.java:130)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > android.app.ActivityThread.main(ActivityThread.java:3768)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > java.lang.reflect.Method.invokeNative(Native Method)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > java.lang.reflect.Method.invoke(Method.java:507)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > com.android.internal.os.ZygoteInit
> > $MethodAndArgsCaller.run(ZygoteInit.java:878)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
> > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
> > dalvik.system.NativeStart.main(Native Method)
Hi Daniel,
Thank you for the information, that's what I was afraid of.However I can't really understand what you mean by an addon-terminal for the MSC, and how I could provide that.In older models, I could access the MSC by simply inserting the MicroSD into the device, and the msartcard service listed it as an available reader. Is there no way I can do this on an S3?
Vincent
> The S3 contains an access control mechanism that requires the files to
> be available on the SIM. If that's not the case or the personalization
> is wrong, you'll get a Security Exception.
> The readers listed in the S3 is 'SIM: UICC' which is the handle to the
> SIM card, MicroSD is not included by Samsung. In order to get access
> to the MSC, an addon-terminal for the MSC needs to be provided.
> ---
> Daniel
> On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote:
> > Hi,
> > I have the exact same problem with my new Galaxy SIII and a G&D smartcard, no matter if I use the sample app or my application (which ran on older devices).I cannot install the MSC_SmartcardService, since the OS says there's a system app already installed with the same signature.When enumerating the readers, only 1 is found, with or without the G&D card inserted. I guess it is the embedded NFC chip, but I need to access the SD card with my custom applet on it.There must be a way to access the card, but I guess the problem is that I cannot override the default smartcard service. Can you help?
> > Vincent
> > I guess the Samsung Nexus does not have the RIL libraries which are required for the NFC communication. So it fdoes not allow to connect to the Secure Element.As these libraries are from OEM we cannot download from somewhere and get it working please try with the Sony Xperia seriess (S, sola) etc. it definitely works
> > On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung nexus galaxy
> > On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> > > What phone are you running your application on?
> > > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
> > > Sent: Friday, May 18, 2012 1:44 AM
> > > To: seek-for-android
> > > Subject: [seek-for-android] java.lang.SecurityException: Connection refused
> > > !!!
> > > Hi,
> > > Im new to UICC and Secure Elements and I tried to do a simple android
> > > application using this tutorial (http://code.google.com/p/seek-for- > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I run
> > > the application it throw an java.lang.SecurityException:
> > > Connection refused !!!. PLease help.
> > > Thanks
The S3 contains the SmartCardService in the system image thus you
cannot re-install the same package again (=MSC_SmartcardService).
However, it should be possible to develop an MSC_AddonTerminal for any
device where the service is part of the system. This would install
just another terminal but not the service again.
I just received ICS device with MSC support recently so it takes some
time to update the drivers here
---
Daniel
On Jun 19, 12:13 pm, Molnár Vince <m....@hotmail.com> wrote:
> Hi Daniel,
> Thank you for the information, that's what I was afraid of.However I can't really understand what you mean by an addon-terminal for the MSC, and how I could provide that.In older models, I could access the MSC by simply inserting the MicroSD into the device, and the msartcard service listed it as an available reader. Is there no way I can do this on an S3?
> Vincent
> > The S3 contains an access control mechanism that requires the files to
> > be available on the SIM. If that's not the case or the personalization
> > is wrong, you'll get a Security Exception.
> > The readers listed in the S3 is 'SIM: UICC' which is the handle to the
> > SIM card, MicroSD is not included by Samsung. In order to get access
> > to the MSC, an addon-terminal for the MSC needs to be provided.
> > ---
> > Daniel
> > On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote:
> > > Hi,
> > > I have the exact same problem with my new Galaxy SIII and a G&D smartcard, no matter if I use the sample app or my application (which ran on older devices).I cannot install the MSC_SmartcardService, since the OS says there's a system app already installed with the same signature.When enumerating the readers, only 1 is found, with or without the G&D card inserted. I guess it is the embedded NFC chip, but I need to access the SD card with my custom applet on it.There must be a way to access the card, but I guess the problem is that I cannot override the default smartcard service. Can you help?
> > > Vincent
> > > I guess the Samsung Nexus does not have the RIL libraries which are required for the NFC communication. So it fdoes not allow to connect to the Secure Element.As these libraries are from OEM we cannot download from somewhere and get it working please try with the Sony Xperia seriess (S, sola) etc. it definitely works
> > > On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung nexus galaxy
> > > On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> > > > What phone are you running your application on?
> > > > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
> > > > Sent: Friday, May 18, 2012 1:44 AM
> > > > To: seek-for-android
> > > > Subject: [seek-for-android] java.lang.SecurityException: Connection refused
> > > > !!!
> > > > Hi,
> > > > Im new to UICC and Secure Elements and I tried to do a simple android
> > > > application using this tutorial (http://code.google.com/p/seek-for- > > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I run
> > > > the application it throw an java.lang.SecurityException:
> > > > Connection refused !!!. PLease help.
> > > > Thanks
Daniel,
does this mean that if trying on S3 we need to have Access Control file in place on the sim with our app signing cert populated within ACF?
Did i get that right? thanks in advance
On Tuesday, June 19, 2012 6:08:01 AM UTC-4, Daniel wrote:
> The S3 contains an access control mechanism that requires the files to > be available on the SIM. If that's not the case or the personalization > is wrong, you'll get a Security Exception. > The readers listed in the S3 is 'SIM: UICC' which is the handle to the > SIM card, MicroSD is not included by Samsung. In order to get access > to the MSC, an addon-terminal for the MSC needs to be provided. > --- > Daniel
> On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote: > > Hi, > > I have the exact same problem with my new Galaxy SIII and a G&D > smartcard, no matter if I use the sample app or my application (which ran > on older devices).I cannot install the MSC_SmartcardService, since the OS > says there's a system app already installed with the same signature.When > enumerating the readers, only 1 is found, with or without the G&D card > inserted. I guess it is the embedded NFC chip, but I need to access the SD > card with my custom applet on it.There must be a way to access the card, > but I guess the problem is that I cannot override the default smartcard > service. Can you help? > > Vincent
> > I guess the Samsung Nexus does not have the RIL libraries which are > required for the NFC communication. So it fdoes not allow to connect to the > Secure Element.As these libraries are from OEM we cannot download from > somewhere and get it working please try with the Sony Xperia seriess (S, > sola) etc. it definitely works
> > On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung > nexus galaxy
> > On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> > > What phone are you running your application on?
> > > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna > > > Sent: Friday, May 18, 2012 1:44 AM > > > To: seek-for-android > > > Subject: [seek-for-android] java.lang.SecurityException: Connection > refused > > > !!!
> > > Hi,
> > > Im new to UICC and Secure Elements and I tried to do a simple android > > > application using this tutorial (http://code.google.com/p/seek-for- > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I > run > > > the application it throw an java.lang.SecurityException: > > > Connection refused !!!. PLease help. > > > Thanks
> > > LogCat
> > > 05-18 06:43:08.229: D/HelloSmartcard(3488): Retrieve available > readers... > > > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create Session from the > first > > > reader... > > > 05-18 06:43:08.269: D/HelloSmartcard(3488): Create logical channel > within > > > the session... > > > 05-18 06:43:08.759: E/HelloSmartcard(3488): Error occured: > > > 05-18 06:43:08.759: E/HelloSmartcard(3488): > > > java.lang.SecurityException: Connection refused !!! > > > 05-18 06:43:08.759: E/HelloSmartcard(3488): at
Yes, that's correct. Once we have uploaded a new SmartCard API with
Access Control integrated I also try to update the Wiki pages
describing how to personalize the SIM in order to get access. For the
moment you can refer to the GlobalPlatform spec which also contain
samples.
---
Daniel
On Jun 20, 6:18 am, vmandic <veli...@hobitat.ca> wrote:
> Daniel,
> does this mean that if trying on S3 we need to have Access Control file in
> place on the sim with our app signing cert populated within ACF?
> Did i get that right? thanks in advance
> On Tuesday, June 19, 2012 6:08:01 AM UTC-4, Daniel wrote:
> > The S3 contains an access control mechanism that requires the files to
> > be available on the SIM. If that's not the case or the personalization
> > is wrong, you'll get a Security Exception.
> > The readers listed in the S3 is 'SIM: UICC' which is the handle to the
> > SIM card, MicroSD is not included by Samsung. In order to get access
> > to the MSC, an addon-terminal for the MSC needs to be provided.
> > ---
> > Daniel
> > On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote:
> > > Hi,
> > > I have the exact same problem with my new Galaxy SIII and a G&D
> > smartcard, no matter if I use the sample app or my application (which ran
> > on older devices).I cannot install the MSC_SmartcardService, since the OS
> > says there's a system app already installed with the same signature.When
> > enumerating the readers, only 1 is found, with or without the G&D card
> > inserted. I guess it is the embedded NFC chip, but I need to access the SD
> > card with my custom applet on it.There must be a way to access the card,
> > but I guess the problem is that I cannot override the default smartcard
> > service. Can you help?
> > > Vincent
> > > I guess the Samsung Nexus does not have the RIL libraries which are
> > required for the NFC communication. So it fdoes not allow to connect to the
> > Secure Element.As these libraries are from OEM we cannot download from
> > somewhere and get it working please try with the Sony Xperia seriess (S,
> > sola) etc. it definitely works
> > > On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung
> > nexus galaxy
> > > On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> > > > What phone are you running your application on?
> > > > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna
> > > > Sent: Friday, May 18, 2012 1:44 AM
> > > > To: seek-for-android
> > > > Subject: [seek-for-android] java.lang.SecurityException: Connection
> > refused
> > > > !!!
> > > > Hi,
> > > > Im new to UICC and Secure Elements and I tried to do a simple android
> > > > application using this tutorial (http://code.google.com/p/seek-for- > > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. When I
> > run
> > > > the application it throw an java.lang.SecurityException:
> > > > Connection refused !!!. PLease help.
> > > > Thanks
Thanks for your reply Daniel.
I've been trying to follow http://code.google.com/p/seek-for-android/wiki/AccessControlDetails to figure out how to populate the ACA with ACL entry on the SIM.
At this point i am doing something wrong as my apk signing cert hash is not matching with the ACL entry. I'll try to reach out to SIM vendor to figure this out.
On Wednesday, June 20, 2012 2:14:22 PM UTC-4, Daniel wrote:
> Yes, that's correct. Once we have uploaded a new SmartCard API with > Access Control integrated I also try to update the Wiki pages > describing how to personalize the SIM in order to get access. For the > moment you can refer to the GlobalPlatform spec which also contain > samples. > --- > Daniel
> On Jun 20, 6:18 am, vmandic <veli...@hobitat.ca> wrote: > > Daniel, > > does this mean that if trying on S3 we need to have Access Control file > in > > place on the sim with our app signing cert populated within ACF? > > Did i get that right? thanks in advance
> > On Tuesday, June 19, 2012 6:08:01 AM UTC-4, Daniel wrote:
> > > The S3 contains an access control mechanism that requires the files to > > > be available on the SIM. If that's not the case or the personalization > > > is wrong, you'll get a Security Exception. > > > The readers listed in the S3 is 'SIM: UICC' which is the handle to the > > > SIM card, MicroSD is not included by Samsung. In order to get access > > > to the MSC, an addon-terminal for the MSC needs to be provided. > > > --- > > > Daniel
> > > On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote: > > > > Hi, > > > > I have the exact same problem with my new Galaxy SIII and a G&D > > > smartcard, no matter if I use the sample app or my application (which > ran > > > on older devices).I cannot install the MSC_SmartcardService, since the > OS > > > says there's a system app already installed with the same > signature.When > > > enumerating the readers, only 1 is found, with or without the G&D card > > > inserted. I guess it is the embedded NFC chip, but I need to access > the SD > > > card with my custom applet on it.There must be a way to access the > card, > > > but I guess the problem is that I cannot override the default > smartcard > > > service. Can you help? > > > > Vincent
> > > > I guess the Samsung Nexus does not have the RIL libraries which are > > > required for the NFC communication. So it fdoes not allow to connect > to the > > > Secure Element.As these libraries are from OEM we cannot download from > > > somewhere and get it working please try with the Sony Xperia seriess > (S, > > > sola) etc. it definitely works
> > > > On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna wrote:samsung > > > nexus galaxy
> > > > On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
> > > > > What phone are you running your application on?
> > > > > [mailto:seek-for-android@googlegroups.com] On Behalf Of chinna > > > > > Sent: Friday, May 18, 2012 1:44 AM > > > > > To: seek-for-android > > > > > Subject: [seek-for-android] java.lang.SecurityException: > Connection > > > refused > > > > > !!!
> > > > > Hi,
> > > > > Im new to UICC and Secure Elements and I tried to do a simple > android > > > > > application using this tutorial (
> http://code.google.com/p/seek-for- > > > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. > When I > > > run > > > > > the application it throw an java.lang.SecurityException: > > > > > Connection refused !!!. PLease help. > > > > > Thanks
I am trying to access to the applets on the UICC (java card) from Android + Smartcard API and experiencing similar problems. First a summary of my current setup/findings:
*Setup: *
- Phone: Galaxy S3 with Android 4.0.4 and Smartcard API 2.3.2 - UICC: A specific test SIM card from an MNO with known key material, a Java applet with known AID's preinstalled
*Problem: *
- Get the "*Connection Refused*" exception with tried to call the *openLogicalChannel *method of the created session.
*Observations:*
- The ATR of the created session is *null*.
- When I download the HalloSmartcard Java Applet from the trunk - I can verify it on the UICC with a smartcard reader - I get the same "*Connection Refused*" exception.
As I understood from the discussions around this topic in the group, UICC on S3 cannot be accessed over Smartcard API (at least not with 2.3.2) as long as no ACL entry in the java card is present. In this point, I have 2 questions
*Question-1* : The the task of getting a ACL into the java card is not an easy one as in the java card a PKCS#15 file system must be emulated. Did anyone found a solution to this? I mean is there a straight-forward way of creating the appropriate ACL file and embedding it correctly to the java card that would give the android system access to the UICC? Any hint or link to a source/tutorial would be really appreciated here.
*Question-2* : This question is more relevant for people from G&D. Acc. to news, the 4.1 Jellybean update for S3 has started. Although we couldn't get it yet officially in Switzerland, it might come any time in the next weeks, anyway. Will the new update contain a upgrade of SmartCard API (e.g. 2.4.0) ? If not, when this new version will be officially a part of the standard android distributions? That would ease the task "UICC Access" a lot as apparently, with 2.4.0, the ACs stop becoming an obstacle on the issue.
On Wednesday, June 20, 2012 8:32:26 PM UTC+2, vmandic wrote:
> Thanks for your reply Daniel.
> I've been trying to follow > http://code.google.com/p/seek-for-android/wiki/AccessControlDetails to > figure out how to populate the ACA with ACL entry on the SIM.
> At this point i am doing something wrong as my apk signing cert hash is > not matching with the ACL entry. I'll try to reach out to SIM vendor to > figure this out.
> Velibor
> On Wednesday, June 20, 2012 2:14:22 PM UTC-4, Daniel wrote:
>> Yes, that's correct. Once we have uploaded a new SmartCard API with >> Access Control integrated I also try to update the Wiki pages >> describing how to personalize the SIM in order to get access. For the >> moment you can refer to the GlobalPlatform spec which also contain >> samples. >> --- >> Daniel
>> On Jun 20, 6:18 am, vmandic <veli...@hobitat.ca> wrote: >> > Daniel, >> > does this mean that if trying on S3 we need to have Access Control file >> in >> > place on the sim with our app signing cert populated within ACF? >> > Did i get that right? thanks in advance
>> > On Tuesday, June 19, 2012 6:08:01 AM UTC-4, Daniel wrote:
>> > > The S3 contains an access control mechanism that requires the files >> to >> > > be available on the SIM. If that's not the case or the >> personalization >> > > is wrong, you'll get a Security Exception. >> > > The readers listed in the S3 is 'SIM: UICC' which is the handle to >> the >> > > SIM card, MicroSD is not included by Samsung. In order to get access >> > > to the MSC, an addon-terminal for the MSC needs to be provided. >> > > --- >> > > Daniel
>> > > On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote: >> > > > Hi, >> > > > I have the exact same problem with my new Galaxy SIII and a G&D >> > > smartcard, no matter if I use the sample app or my application (which >> ran >> > > on older devices).I cannot install the MSC_SmartcardService, since >> the OS >> > > says there's a system app already installed with the same >> signature.When >> > > enumerating the readers, only 1 is found, with or without the G&D >> card >> > > inserted. I guess it is the embedded NFC chip, but I need to access >> the SD >> > > card with my custom applet on it.There must be a way to access the >> card, >> > > but I guess the problem is that I cannot override the default >> smartcard >> > > service. Can you help? >> > > > Vincent
>> > > > I guess the Samsung Nexus does not have the RIL libraries which are >> > > required for the NFC communication. So it fdoes not allow to connect >> to the >> > > Secure Element.As these libraries are from OEM we cannot download >> from >> > > somewhere and get it working please try with the Sony Xperia seriess >> (S, >> > > sola) etc. it definitely works
>> > > > On Wednesday, May 23, 2012 2:43:00 PM UTC+5:30, chinna >> wrote:samsung >> > > nexus galaxy
>> > > > On May 19, 5:22 am, Robin Ehrlich <robin.ehrl...@gmail.com> wrote:
>> > > > > What phone are you running your application on?
>> > > > > Im new to UICC and Secure Elements and I tried to do a simple >> android >> > > > > application using this tutorial (
>> http://code.google.com/p/seek-for- >> > > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements. >> When I >> > > run >> > > > > the application it throw an java.lang.SecurityException: >> > > > > Connection refused !!!. PLease help. >> > > > > Thanks
1. You need the ACL on the SIM where you already have file system
support out of the box: ETSI 102.221 with SELECT, READ/UPDATE BINARY/
RECORD. With such, you can create a PKCS#15 ADF in the GSM filesystem
and inhere the PKCS#15 files with the ACL instead of developing a Java
Card applet that supports PKCS#15 commands.
2. We are not involved when OEMs integrate SCAPI in their devices so
we don't know about version/features/... We also need to wait for a
new device or sw update to be released and try to understand what is
integrated and how it can be used
---
Daniel
On Oct 26, 1:24 pm, Tunc Ikikardes <tunc.ikikar...@gmail.com> wrote:
> I am trying to access to the applets on the UICC (java card) from Android +
> Smartcard API and experiencing similar problems.
> First a summary of my current setup/findings:
> *Setup: *
> - Phone: Galaxy S3 with Android 4.0.4 and Smartcard API 2.3.2
> - UICC: A specific test SIM card from an MNO with known key material, a
> Java applet with known AID's preinstalled
> *Problem: *
> - Get the "*Connection Refused*" exception with tried to call the *openLogicalChannel
> *method of the created session.
> *Observations:*
> - The ATR of the created session is *null*.
> - When I download the HalloSmartcard Java Applet from the trunk - I can
> verify it on the UICC with a smartcard reader - I get the same "*Connection
> Refused*" exception.
> As I understood from the discussions around this topic in the group, UICC
> on S3 cannot be accessed over Smartcard API (at least not with 2.3.2) as
> long as no ACL entry in the java card is present. In this point, I have 2
> questions
> *Question-1* : The the task of getting a ACL into the java card is not an
> easy one as in the java card a PKCS#15 file system must be emulated. Did
> anyone found a solution to this? I mean is there a straight-forward way of
> creating the appropriate ACL file and embedding it correctly to the java
> card that would give the android system access to the UICC? Any hint or
> link to a source/tutorial would be really appreciated here.
> *Question-2* : This question is more relevant for people from G&D. Acc. to
> news, the 4.1 Jellybean update for S3 has started. Although we couldn't get
> it yet officially in Switzerland, it might come any time in the next weeks,
> anyway. Will the new update contain a upgrade of SmartCard API (e.g. 2.4.0)
> ? If not, when this new version will be officially a part of the standard
> android distributions? That would ease the task "UICC Access" a lot as
> apparently, with 2.4.0, the ACs stop becoming an obstacle on the issue.
> Thanks a lot in advance for your feedback.
> Tunç
> On Wednesday, June 20, 2012 8:32:26 PM UTC+2, vmandic wrote:
> > Thanks for your reply Daniel.
> > I've been trying to follow
> >http://code.google.com/p/seek-for-android/wiki/AccessControlDetailsto > > figure out how to populate the ACA with ACL entry on the SIM.
> > At this point i am doing something wrong as my apk signing cert hash is
> > not matching with the ACL entry. I'll try to reach out to SIM vendor to
> > figure this out.
> > Velibor
> > On Wednesday, June 20, 2012 2:14:22 PM UTC-4, Daniel wrote:
> >> Yes, that's correct. Once we have uploaded a new SmartCard API with
> >> Access Control integrated I also try to update the Wiki pages
> >> describing how to personalize the SIM in order to get access. For the
> >> moment you can refer to the GlobalPlatform spec which also contain
> >> samples.
> >> ---
> >> Daniel
> >> On Jun 20, 6:18 am, vmandic <veli...@hobitat.ca> wrote:
> >> > Daniel,
> >> > does this mean that if trying on S3 we need to have Access Control file
> >> in
> >> > place on the sim with our app signing cert populated within ACF?
> >> > Did i get that right? thanks in advance
> >> > On Tuesday, June 19, 2012 6:08:01 AM UTC-4, Daniel wrote:
> >> > > The S3 contains an access control mechanism that requires the files
> >> to
> >> > > be available on the SIM. If that's not the case or the
> >> personalization
> >> > > is wrong, you'll get a Security Exception.
> >> > > The readers listed in the S3 is 'SIM: UICC' which is the handle to
> >> the
> >> > > SIM card, MicroSD is not included by Samsung. In order to get access
> >> > > to the MSC, an addon-terminal for the MSC needs to be provided.
> >> > > ---
> >> > > Daniel
> >> > > On Jun 14, 2:55 pm, Molnár Vince <m....@hotmail.com> wrote:
> >> > > > Hi,
> >> > > > I have the exact same problem with my new Galaxy SIII and a G&D
> >> > > smartcard, no matter if I use the sample app or my application (which
> >> ran
> >> > > on older devices).I cannot install the MSC_SmartcardService, since
> >> the OS
> >> > > says there's a system app already installed with the same
> >> signature.When
> >> > > enumerating the readers, only 1 is found, with or without the G&D
> >> card
> >> > > inserted. I guess it is the embedded NFC chip, but I need to access
> >> the SD
> >> > > card with my custom applet on it.There must be a way to access the
> >> card,
> >> > > but I guess the problem is that I cannot override the default
> >> smartcard
> >> > > service. Can you help?
> >> > > > Vincent
> >> > > > I guess the Samsung Nexus does not have the RIL libraries which are
> >> > > required for the NFC communication. So it fdoes not allow to connect
> >> to the
> >> > > Secure Element.As these libraries are from OEM we cannot download
> >> from
> >> > > somewhere and get it working please try with the Sony Xperia seriess
> >> (S,
> >> > > sola) etc. it definitely works
> >> > > > > Im new to UICC and Secure Elements and I tried to do a simple
> >> android
> >> > > > > application using this tutorial (
> >>http://code.google.com/p/seek-for- > >> > > > > android/wiki/UsingSmartCardAPI) to connect the Secure Elements.
> >> When I
> >> > > run
> >> > > > > the application it throw an java.lang.SecurityException:
> >> > > > > Connection refused !!!. PLease help.
> >> > > > > Thanks