krishnenc / seek-for-android

Automatically exported from code.google.com/p/seek-for-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Last seek for android api does not work previous android versions

GoogleCodeExporter opened this issue · comments

We have just implemented new smartcard api which have below properties.

Version  Date    Code    Android     OMAPI
3.1.0    27.09.2013  5   4.3     2.04

Bu when we test we saw we can only connect smartcard with Android 4.3 phones. 
But how do you manage to work with Android 4.3 previous versions with 3.1.0 
smartcard api?

Original issue reported on code.google.com by ciftligi...@gmail.com on 14 Dec 2013 at 8:40

the openmobileapi.jar version 2.0.4 does not run on pre-Android-4.3 devices

D/AndroidRuntime(10112): Shutting down VM
W/dalvikvm(10112): threadid=1: thread exiting with uncaught exception 
(group=0x410252a0)
E/AndroidRuntime(10112): FATAL EXCEPTION: main
E/AndroidRuntime(10112): java.lang.NullPointerException
E/AndroidRuntime(10112):    at 
org.simalliance.openmobileapi.Reader.isSecureElementPresent(Reader.java:129)
E/AndroidRuntime(10112):    at 
de.dtag.tlabs.wallet.cardlet.CardletConnectivityServiceImpl.serviceConnected(Car
dletConnectivityServiceImpl.java:294)
E/AndroidRuntime(10112):    at 
org.simalliance.openmobileapi.SEService$2.onServiceConnected(SEService.java:123)
E/AndroidRuntime(10112):    at 
android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1097)
E/AndroidRuntime(10112):    at 
android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1114)
E/AndroidRuntime(10112):    at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime(10112):    at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(10112):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(10112):    at 
android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime(10112):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(10112):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(10112):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
E/AndroidRuntime(10112):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
E/AndroidRuntime(10112):    at dalvik.system.NativeStart.main(Native Method)

Original comment by ignisvul...@gmail.com on 14 Jan 2014 at 11:50

Hi,

Is there any solution for this problem?

Thanks

Original comment by kagan.ka...@globile.com.tr on 23 Jan 2014 at 8:02