After successfully importing the project, building it and installing it on my Samsung Galaxy A5, I get the following error in the logs:
07-08 16:11:47.606 26778-26778/com.gieseckedevrient.android.hellosmartcard E/HelloSmartcard: Error occured:
java.io.IOException: Secure Element is not presented.
at org.simalliance.openmobileapi.service.SmartcardError.throwException(SmartcardError.java:134)
at org.simalliance.openmobileapi.Reader.openSession(Reader.java:95)
at com.gieseckedevrient.android.hellosmartcard.MainActivity$1.onClick(MainActivity.java:49)
at android.view.View.performClick(View.java:5716)
at android.widget.TextView.performClick(TextView.java:10926)
at android.view.View$PerformClick.run(View.java:22596)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7331)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
07-08 16:12:17.906 26778-26778/com.gieseckedevrient.android.hellosmartcard V/ActivityThread: updateVisibility : ActivityRecord{113e38c token=android.os.BinderProxy@d5a62e {com.gieseckedevrient.android.hellosmartcard/com.gieseckedevrient.android.hellosmartcard.MainActivity}} show : true
The service does connect successfully (as per the logs, and the button is enabled on start also). What could be the cause of this error?
After successfully importing the project, building it and installing it on my Samsung Galaxy A5, I get the following error in the logs:
07-08 16:11:47.606 26778-26778/com.gieseckedevrient.android.hellosmartcard E/HelloSmartcard: Error occured:
java.io.IOException: Secure Element is not presented.
at org.simalliance.openmobileapi.service.SmartcardError.throwException(SmartcardError.java:134)
at org.simalliance.openmobileapi.Reader.openSession(Reader.java:95)
at com.gieseckedevrient.android.hellosmartcard.MainActivity$1.onClick(MainActivity.java:49)
at android.view.View.performClick(View.java:5716)
at android.widget.TextView.performClick(TextView.java:10926)
at android.view.View$PerformClick.run(View.java:22596)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7331)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
07-08 16:12:17.906 26778-26778/com.gieseckedevrient.android.hellosmartcard V/ActivityThread: updateVisibility : ActivityRecord{113e38c token=android.os.BinderProxy@d5a62e {com.gieseckedevrient.android.hellosmartcard/com.gieseckedevrient.android.hellosmartcard.MainActivity}} show : true
The service does connect successfully (as per the logs, and the button is enabled on start also). What could be the cause of this error?