anyboo / seek-for-android

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

java.lang.SecurityException: Connection refused !!! why i have this problem?? #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem?
i use openmobileapi to run on s3,but i get this "java.lang.SecurityException: 
Connection refused !!!"
i don't know why?? please help me~thanks anyone!!

What steps will reproduce the problem?
1.i use example on eclipse
 Channel channel = session.openLogicalChannel(new byte[] { (byte) 0xD2, 0x76, 0x00, 0x01, 0x18, 0x00, 0x02,(byte) 0xFF, 0x49, 0x50, 0x25, (byte) 0x89,(byte) 0xC0, 0x01, (byte) 0x9B, 0x01                          
                   }); //this code will get Exception

What is the expected output? What do you see instead?
A:java.lang.SecurityException: Connection refused !!!

What version of the product are you using? On what operating system?
A:Package version:2.3.2
  openmobileapi is 4.0.3 

Please provide any additional information below.

Original issue reported on code.google.com by natsu0...@gmail.com on 3 Jun 2013 at 9:41

GoogleCodeExporter commented 9 years ago
i has set <uses-permission 
android:name="org.simalliance.openmobileapi.SMARTCARD" /> in mainfast.xml

Original comment by natsu0...@gmail.com on 3 Jun 2013 at 9:45

GoogleCodeExporter commented 9 years ago
Maybe you're missing the proper access control rules to open a channel with 
your applet. Did you check the PKCS#15 files on the SIM?

"Connection refused !!!" comes from a module that is not from SEEK hence 
support might be difficult.

Original comment by Daniel.A...@gi-de.com on 5 Jul 2013 at 2:08