Call a Java Application from MicroFocus COBOL (in UNIX environment)

215 byte By tijo_mariama at 2007-10-2 18:25:22
Hello,Could you please let me know, how to call a Java application from a MicroFocus COBOL application. If anyone has any code samples, that would be of great help.Thanks in advance,Tijo.

disable the "minimize button (x)" of the Frame

223 byte By michaelaa at 2007-10-2 18:33:40
I am trying to disable the minimize button of the frame, does anyone know how to do that? I can't seem to control it when I ran the application in a pocket pc using IBM J9 JVM. Any help would be appreciated. Thanks!

CARD ERROR

277 byte By BIXBANa at 2007-10-2 18:37:31
Hi guys, I was wondering if this error message looks familiar to any of you? /card -a a000000003000000 -c com.ibm.jc.CardManagerjcshell: Error code: -8 (Failed (no diagnosis))jcshell: Command failed: No ATRUnexpected error; aborting execution

convert cap file to class file

320 byte By divyesh_atomtecha at 2007-10-2 18:40:56
Hi to allanyway,can i convert .cap file to .class file.?means,i m loading jar file as a SIM applet on the java card,that jar file is consist of several .cap files ,now anyways an i do a reverse conversion & get the code back in form of .class file or any other ...

JVM not exiting when program terminates

224 byte By michaelaa at 2007-10-2 18:41:03
I am developing an application that uses Frames on a pocket PC.At some certain event, I call System.Exit to close my application. However, doing this does not shutdown the JVM. Is there a way to force the JVM to exit?

Get data from SIM CARD in cellphone

267 byte By phiduong84@sun.coma at 2007-10-2 18:41:30
Hi everybody! I want to get SMS which is saved in SIM CARD.But I don't know how to do?I have ever read about JSR-177 but it is difficult for me to understand and write a app.In fact, I don't know JSR-177 that can help me do it ! Can everybody help me?Thanks.

Osgi Bundle as an API

303 byte By Kuchria at 2007-10-2 18:42:42
Hey,Based on a jar-file, I want to create an Osgi-Bundle which works like an Api.So it is suppose to include all packages inside the jar file and to export them, so that other bundles can use them. I know, that this works, but I don抰 know how.I hope u can help ...

Converter Tool noClassDefFoundError

475 byte By doggy123a at 2007-10-2 18:45:00
Hi,I am new to Java Card. I have got on ok writing SIM Toolkit Apps, but I can't seem to build any CAP files, not even the sample classes supplied. I get error:Exception in thread "main" java.lang.NoClassDefFoundError:com/sun/javacard/converter/Converterwhen running the converter tool, for ...

extending Xlet

272 byte By fin_mkta at 2007-10-2 18:45:59
I extend a class that already implements Xlet interface. Within child class I overide startXlet() method. When Xlet is launched it calls startXlet from parent class. Does anyone has thoughts on this on how it should be extended or to overide the startXlet().

call Sim toolkit with SMS

298 byte By mikaloa at 2007-10-2 18:50:55
Hey everybody!I am a newbie in Sim Card applications so I don't know if it is possible to send a SMS to the SIM Card, in which I can call STK command such as NMR and send the result back to a server by SMS.I will be grateful to anybody who can help

Developing a smart card application

463 byte By socxa at 2007-10-2 19:00:36
Hello,I am about to undertake a project to develop a multipurpose smartcard. The smartcard will run 3 applications, sandboxed from each other. I want to know if anyone has an idea after testing the application on a simulator on my PC how i can actually print it on a smart card chip.Is it ...

Derby database - Query return value

1635 byte By nk15a at 2007-10-2 19:06:31
Hi,Im using a derby database for an application. I try to check if a user already exists in the table with the following code:public boolean checkUserName(User userName){boolean result = false;Statement queryStatement = null;ResultSet results = null;try{stmtCheckUserName = ...

Upload CAP file to JCOP card via command line

264 byte By doggy123a at 2007-10-2 19:07:28
Hi,I have compiled my CAP file with the sun converter.bat file via the command line, is there a way of uploading the cap file to a JCOP card via the command line also?If so, could anyone point me in the right direction?Cheers,Dan

Help with JPCSC linux and windows inconsistency!

1113 byte By javacard-studenta at 2007-10-2 19:09:43
I created a smart card with a single EF file.I set the access condition for reading/updating the said binary file to require a key. In GSM 11.11 specs this means: VERIFY_CHV must be sent first before READ_BINARY or UPDATE_BINARY. Otherwise, a '9804' response (access condition not fulfilled) ...

thread in xlet terminating

637 byte By brad9376a at 2007-10-2 19:13:39
I'm having some trouble with a thread only running one time with no errors/exceptions.Starting thread in StartXlet():timeStep=200;animThread=new Thread(this);animThread.start();Here is the run function:public void run() {int ...

JCVM are the java card operating system?

292 byte By paulocsar9a at 2007-10-2 19:19:57
in some articles I read teh following:JCVM acts like an operating system. the implementation of JCVM =java card operating system?in some articles I read: the Java Card Operating system are JCVM, APIs,JCRE, native Methos, and another classes.help me please. thanks.

Problem selecting install applet

1367 byte By YoZH@87a at 2007-10-2 19:24:25
I'm using JCOP30 card through a pcsc-compatible readerWhen i try to select an install applet through using apdutool, it always return me 6a82 code.Here are the lines I send:powerup;// Select the installer applet0x00 0xA4 0x04 0x00 0x09 0xa0 0x00 0x00 0x00 0x62 0x03 0x01 0x08 0x01 ...

Creating public/ private key pair

567 byte By GayanDenzila at 2007-10-2 19:33:13
I am developing a smart card enable files protector and the objective of the project is to generate a public/private key pair in side the smart card and by using those keys I am going to encrypt/decrypt and digitally sign the documents.The question : Generate a public/private key pair in side ...

JCDK + NetBeans 5.0

155 byte By FernandoMartineza at 2007-10-2 19:34:53
Does anyone know how to integradte the JCDK with NetBeans5.0, i have tried to use the Library Manager but it doesnt seems to work. Does anyone know?

pc smartcard connection

477 byte By asim.choudhurya at 2007-10-2 19:37:31
HiI want to develop a module in java that will connect with Philips pegoda reader.The connection should be contactless between the reader and the javacard (Philips Smart mx card).The java module should be able to send APDU commands to the javacard present in the philips pegoda reader and should ...

Access to smart card with STB

1825 byte By alfyinserxa at 2007-10-2 19:38:33
Hi all,i have an ADB STB with OCF support (Osmosys made OCF support on some STB). I'm trying to access to some smart card, but really the OCF support is not complete!!!! Some method are not present on STB, infact i obtain some java.lang.NoSuchMethodError errors. Then i can't use the example ...

LDS applet

660 byte By fara0na at 2007-10-2 19:40:09
Hello everybody!I am working for a company that deals with IT security. A few days ago I was given an JCOP41v2.2 smart card with a PhilipsLDS JavaCard applet. I am supposed to personalize this "e-Passport" but I can not find the specification of the APDU messages that should be sent to the ...

lc>255 how?

540 byte By flasholinosa at 2007-10-2 19:40:52
Hello. I want to pass some data from host to card.i am using the function bellowprivate void wr_phone(APDU apdu) throws APDUException{byte[] temp=apdu.getBuffer();short data_length = (short)(temp[ISO7816.OFFSET_LC] & 0xFF);short read_count = apdu.setIncomingAndReceive();phone = new ...

the various kits of development in JavaCard

127 byte By lbinaha at 2007-10-2 19:50:49
I need to make a comparative study on the various kits of development in JavaCard, can somebody help me plzzzzzzzzzzzz!!

INSTALL [for install] error

579 byte By doggy123a at 2007-10-2 19:50:58
Hi,I am currently writing my own cap uploader, but am currently getting in the INSTALL command. My current steps are:Authenticate Secure Channel // reply 90 0080 E6 02 - Install for Load command // reply 90 0080 E8 - Upload data block // all give reply 90 00but here:80 E6 0C // install for ...

What is java API?!!!!!!!

234 byte By mohkermania at 2007-10-2 19:57:16
Hi,I've read much much much articles about tv api but I did'nt find out that how can I use this API,For example can use it for a News channel's news bar?that all types of TV sets can recieve?if yes, HOW?

difference between files generated by converter

250 byte By divyesh_atomtecha at 2007-10-2 19:59:52
hi to allcan anybody plz tell me the diff between the .cap ,.ijc & .jca file generated by converter & use of those files while loading the SIM toolkit applet on the java card?thanks in advanceRegardsDivyesh.

Failed to initialize WMA message routing support

156 byte By harlowa at 2007-10-2 20:06:30
Please help me...I am developing a sms application but there is a failure in initializing the WMA..How can I solve this...wolrah

selecting applet problem

3431 byte By sam_gka at 2007-10-2 20:11:58
Hi everyone,I use a SCR335 USB Smart Card Reader(Microsystems) in WInXP SP2,and jcop10 and jcop20 cards I'm trying to select an applet in my card with AID 41 41 41 41 42.When I try to have access to the card and select my applet through JCOP Shell (in Eclipse) everything is fine as you can see ...

Difficulty While Running Scriptgen and Getting Suitable IDE

2557 byte By Back2Homea at 2007-10-2 20:14:14
HiI am just getting acquainted with Javacard.Please excuse me for writting here at length.Presently exploring JCDK 2.2.2I could create cap file using converter. But came across 2 difficulties :1. While working with verifycap, my command was:C:\java_card_kit-2_2_2\samples\src>verifycap ...

pc/sc api

515 byte By zielonyplota at 2007-10-2 20:17:56
Hi!I have a smart card reader EZ910. This reader have it's own API, but compatibly with pc/sc 1.0. Xample: there is function CasEstablishContext, CasListReaders instead of SCardEstablishContext, SCardListReaders, etc. Now I am creating Java functions to handle this native functions, but I have ...

Carlet installation on phone embedded smartCard

765 byte By claudio_jorgea at 2007-10-2 20:24:26
Hi,How Could I upload and install a cardlet on a phone embedded SmartCard ?What I'd like to do I to upload the CAP file and use a Midlet to process APDU commands to upload and install the CAP File on the SmartCard. Is it possible so far ?I use proprietary phone API that allows to send APDUs on ...

Set box

191 byte By REsca79a at 2007-10-2 20:27:17
Does Anyone konow a simple way to transfer and execute an xlet tu on setbox ? or some programs for emulating a downstream from pc to serial port of setbox for executing an xlet?

transfer Xlet to setbox

71 byte By REsca79a at 2007-10-2 20:27:18
Does anyone know a way to tranfer and execute an xlet on setbox?

How to program and develop a Java TV API

321 byte By nguyenvanlonga at 2007-10-2 20:40:49
Hi all,I am a new for Java TV APII want to programming a application for digital TV systems, but a don't know how can I begin.I would have a step by step your helpcode for a samplewhat's emulator to testenvironment to deployetc.please help ...

Who can tell me the application's differences between OCAP and MHP

370 byte By chimaea at 2007-10-2 20:41:23
I want to know the differences between the application run in OCAP Abstract service Context and one kind of application run in mhp service context. This kind of application run in mhp service context is signed by "External application authorization descriptor".If these application can be the ...

Java Card Enviroment

211 byte By SeanTanSonya at 2007-10-2 20:45:53
The Java Card Application can apply in Window XP?Can suggest the related link for setup the environment for Java Card in Window XP?Thanks you.Message was edited by: SeanTanSony

MHP API version

325 byte By mgawsona at 2007-10-2 20:52:33
Hi,Im developing an mhp application already, im using several APIs like jdk1.1.8, javaTV 1.0, and MHP.the mhp api that im using was just given to me and i dont know what version it is. Can someone tell me how would i know what version of mhp am i using? is there's a way to determine it?thank ...

Garbage Collector Problem

663 byte By atizaa at 2007-10-2 20:53:24
Hi,I have made ticker application, it is runnable and I move text over the screen in steps 2 or 3 pixels wide. Text is drawn in DVBBufferedImage which is painted on the screen. Each time I move the text I have to repaint. I works OK., but after some time memory is full, garbage collector is ...

NFC

589 byte By divyesh_atomtecha at 2007-10-2 20:58:53
hi alli want to develop one sample NFC(near field communication) application for the contactless java card. for that i have a mobile phone which supports NFC(samsung SGH X-700) but ,i don't know how to proceed with application development.if i m not wrong i can do it with JSR 257 (contactless ...

Please Help me in this

198 byte By iampiyush83a at 2007-10-2 21:09:15
Hello, In my project I have to read data stored on a smart card through smart card reader. How can I do this in Java.Please reply as soon as possibleThanks in advance.Bye

Read and write data on Java card

77 byte By diegonguyena at 2007-10-2 21:11:30
I don't know how to read and write data on Java card. Please help me.

file transfer using socket

475 byte By mangustaa at 2007-10-2 21:18:08
Hi guysI have a simple client-server socket. The clients sends a file to the server, the server makes a task then sends another file back to the client.The problem is: if I implement the transfer from client to the server it works. If I implements the transfer from the server to the clients ...

card reset

3090 byte By Red_Octobera at 2007-10-2 21:22:09
i have been successfully uploading, installing and running an applicaiton i have been testing to a JCOP card.then all of the sudden it stopped working....see errors below.it seems like the card need reset to it's original state. the card is not yet personalized. is there a way to do this with ...

docs

304 byte By Red_Octobera at 2007-10-2 21:22:42
where is the best place to find documentation on the "card manager" application? i'm using an eclipse plug-in for development and the docs for jcop shell and card manager are fairly limited.it just seems like i'm missing some docs that would allow me to fully understand how to use the ...

HELP

855 byte By BIXBANa at 2007-10-2 21:27:04
cm> /term "winscard:4|SchlumbergerSema Reflex USB 0"> /card -a a000000003000000 -c com.ibm.jc.CardManagerHI guys,Can anyone explain why i get this error when i try loading my applet on the card?ATR: 3BEF00FF8131664549424D204D46433430303230383331A1ATR: T=1, N=-1, IFSC=102, BWI=4/CWI=5, ...

Streaming decoding, misc algorithms in card

248 byte By dani_studa at 2007-10-2 21:31:13
Hello folks,Smart card newby, I don't get the overall picture right...Is it possible to implement an app in the smart card to decode a stream ?Any advice to choose a performant smart card and reader for testing welcome.

JavaCard Codes

139 byte By Thdutraa at 2007-10-2 21:33:20
I am developing a study on javacard and I am needing codes of diverse applications for this. somebody would know where I could find?

Using javascript in DVB-HTML

524 byte By KrisBooghmansa at 2007-10-2 21:36:33
I want to set the viewport style rule in a DVB-HTML application from within javascript (ECMAScript). To dynamically change the video or background in a DVB-HTML application.Also the DVB-HTML spec mentions that is supports 'modules' for CSS2, DVBCSS and other exotic modules. How do I use them ...

error on putting new key set in MAC+Enc mode

686 byte By Skullzza at 2007-10-2 21:44:40
hi all, my card is Schlumberger e-gate 32k. I'm getting a bit specific error when sending PutKey command from host PC to card: if I do this in MAC+Enc mode, and all 3 keys are different (Auth, MAC and KEK) I get status code 6A80. If I change to in MACOnly mode, all works OK. Or if I make ...