Card application  ????

Hi all
Java Card Application required Ram Size ??(Owner application)
How to get this Size? (calculate)

RAM or EPROM?
RAM is used for stack (local variables, parameters, etc) and transient objects. EPROM may contain code and object instances.
Anyway, occupied size in RAM or EPROM depends on implementation of Java Card.
Size in EPROM is approximately the same as size of all components of cap file excluding descriptor.cap.
Approximate RAM requirements can be calculated using specification. Each method parameter and local variable occupies 2 bytes (int values - 4 bytes). Each method call takes 6-8 bytes on stack.

Similar Messages

  • What does it take to build smart card applications?

    Just out of interest I was wondering what does it take to build smart card applications:
    - Can I do it at home with my PC or do I have to have access to expensive hardware?
    - How difficult is it to master given that I do it on my own with no help. Does it involve a lot of hardware issues?
    - If hardware is required (a smart card and a cable connection), where do I get it and how much does it cost?

    Let me rephrase my question.
    I understand that the deployment process may not be so easy. That does not disturb me.
    I just want to know whether I'll experience hardware probelms. If reading/writing to the card involves putting it inside and taking it outside from the device just like a floppy disk without any complications, then I don't have any worries.
    By the way, does the reader device is used for both reading AND writing?

  • How to access my Sim Card Applications ( nokia N90...

    hello guys
    was wondering how to access my Sim card applications
    i used to go to settings then to sim card and bingo
    but with nokia n900 its a diff story , plz help

    Do you mean that your iPhone is locked to a carrier and you wish to unlock it to use with another carrier? Or do you mean that your SIM has a PIN or PUK code that you have forgotten or don't know?

  • Step by step approach to develope the java card application

    Do anybody know how to develope a smart card application using java card.i have downloaded java card kit,but the documentation provided by the sun is bit complex to use.
    so please anybody know how to proceed?
    It would be appreciated if i am given a step by step approach to develope a smart card application using java card.

    Do anybody know how to develope a smart card
    application using java card.i have downloaded java
    card kit,but the documentation provided by the sun is
    bit complex to use.
    so please anybody know how to proceed?I would suggest to read these articles
    http://developers.sun.com/techtopics/mobility/javacard/articles/
    Jan

  • Why my JCOP do not create CAPs for my java card application?

    I am using Eclipse 3.3.1.1 and JCOP tools3.1.2.
    When I create Java card application or applet, it doesn't create cap files for me automatically. Why?
    I used JCOP before, it always created new CAP files replacing the older ones when I saved the source code.
    Does the version of Eclipse conflict with that of JCOP?
    By the way I am using JDK 1.6 for my default lib.
    Thanks!

    Well it works. I tested it with your version.
    - Check out if your project has the JCOP nature.
    - Check via the Navigator view if the javacard folder is created, including the .exp and .cap file (you need to refresh the last folder)
    - Check if your Eclipse project setting have automatic build enabled, otherwise you need to trigger the build automatically
    - Try to refresh, clean and rebuild the project

  • TS1702 Cards application unable to login to my Apple account on IPad using iOS 5.1.1

    My I pad updated with I OS 5.1.1 using cards application will not allow me to login to my apple account to process payment.  Payment method is an approved method, and have no problems using sign in to my apple account from other applications using same I Pad, iPhone or iPod.  Able to fully utilize cards application on iPhone..login to apple account and purchase cards.  Already removed application on I pad and reinstalled, restarted application and IPad to no avail.  Any help appreciated.

    First thing to try is a reboot of your iPad. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the iPad restart. See if that fixes your problem.
    This solves many problems. Are you sure you have enough space left on the devices to hold the downloads?

  • HT1349 No credit card application is not made​​.

    No credit card application is notmade​​.

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • Java card application and applet

    Hi
    I' am developing a java card application which has three applets (1-ID, 2-Purse, 3-Library). I mean the same card should be use for personal ID, purse, and as library card. Using eclipse I first have to create a new project.
    File-New-New project-java card project. Then in the package Explorer view right click src then New-other-java card Applet. My question is because my java card application has more than one applet how do I add the other two. Should I add the other two by clicking src again or just add them under the same source code belonging to the java card Applet created at the beginning.

    you mean by again doing right click src then New-other-java card Applet.

  • Reg: java card application needs

    Dear experts,
    i am a newbie to java card, After a lot of googling, i found JACCAL to aid java card programming development. I have downloaded and installed it but i dont know how to use it? any help will be greatly appreciated,
    By the way, i need to know why do we need IDE or tools for java card programming?. Cant we complete right from typing program to till burning on card using the java card kit ? please correct me, if i am wrong.
    I have tested the sample programs successfully with java card kit 2.1.2. My doubt is, What are the needs for java card application, like what CAD, card and tools should be used or purchased(most of them ,i found from the web are outdated like JCOP, OCF).
    Thanks in advance.
    SRI.

    you mean by again doing right click src then New-other-java card Applet.

  • Beginner's Question on simulation of java card application

    Hi,
    I am trying to run a basic Java card application.
    To simulate the java card application, I created jcwde.app and tried C:\>jcwde -p 9025 jcwde.app
    I got and exception like:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: markHeap
    at com.sun.javacard.impl.NativeMethods.markHeap(Native Method)
    at javacard.framework.Dispatcher.cardInit(Dispatcher.java:188)
    at javacard.framework.Dispatcher.main(Dispatcher.java:63)
    at javacard.framework.JCWDEDispatcher.main(JCWDEDispatcher.java:28)
    at com.sun.javacard.jcwde.Main.run(Main.java:85)
    at com.sun.javacard.jcwde.Main.main(Main.java:148)
    Can anyone help me to find out the reason for this exception?
    The content of jcwde.app is
    // applet AID
    com.sun.javacard.installer.InstallerApplet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0x8:0x1
    wallet.Wallet
    Thanx in advance.
    anju

    I see terms like ...
    Core Java: The main libraries.
    JDK: (J)ava (D)evelopement (K)it) - AKA: (S)oftware (D)evelopement (K)it although the terms are not exactly synonomous
    J2EE:(J)ava 2 (E)nterprise (E)dition (builds on the J2SE with additional librarities for true business application building)
    J2SE: (J)ava 2 (S)tandard (E)dition (The core libraries for general Java program developement, w/o the extra stuff that is in the J2EE
    Go to java.sun.com and check out the tutorials, the readme files that come with the downloads, the release notes, etc ... HTH

  • Auto start Java Card application

    Hello,
    is it possible to start a Java Card application from the SIM card right after the mobile is switched on?
    I talked to a guy from a SIM card manufacturer and he told me it's possible since the device checks on start if a Java Card application is present to display it in the phone's menu, but it's device dependant how it's done and if the application really will be started (which sounds kind of strange).
    Can someone give me more details if it's possible to auto start a application and how it's done ( code snippet would be great ; )?
    Thanks in advance,
    teric

    The first event after ME startup, which STK applet could catch is Terminal Profile.
    So, in applet class constructor should be smthng like
    ToolkitRegistry reg = ToolkitRegistry.getEntry();
    reg.setEvent(EVENT_PROFILE_DOWNLOAD);
    and applet will trigger on Terminal Profile arrival.

  • [Apps] Name Card Application developed using Adobe AIR and Adobe Flash Lite

    An University student currently undergoing his research
    project had developed this application in order to help him with
    his research project. Please kindly try the application and take
    the survey form provided at the bottom of this message.
    This application allows you to store name card details. The
    application compromise of both PC (Windows / Mac) and a mobile
    phone component. Users will be entering the name cards information
    using the PC component and he will be sending it to the phone. The
    phone component will read the data created by the user and display
    it accordingly.
    This application requires Adobe AIR and Adobe Flash Lite to
    work.
    Please click on the following URL for more information.
    http://www.pda4x.com/read.php?tid=68835
    Note: I sincerely hope that the Administrator will not delete
    this message.

    Great Job!

  • Is it possible to simulate whole java card application on simulator?

    Hello all,
    currently i dont have any real java card yet,not either reader . I already made a simple applet and check its working by CJCRE (net beans simulator), it is working fine,
    now i want to move to host application which will communicate with java card via card reader. Is this possible to simulate complete application ( host application + java card applets)?
    I want to check it out that:- which line of java program would be helpful to know that:-
    1-"how real host application will talk to reader"
    2- how it connect and disconnect the reader
    3- how it send apdu to java card by reader
    and much more.
    I am using netbeans 7.1 and it is using CJCRE as a simulator....

    you mean to say this
    http://askra.de/software/jcdocs/app-notes-2.2.2/apduio.html
    I am quite confused now, i read this but still can not imagine the concept ,
    an applet code is :-
    public class GetName extends Applet
         final static byte CLASS     = (byte) 0x80;  // Class of the APDU commands
         final static byte INS_READ  = (byte) 0x02;  // instruction for the READ APDU command
         final static byte INS_WRITE = (byte) 0x03;  // instruction for the READ APDU command
         final static byte INS_DY_CO = (byte) 0x04;  // instruction for the READ APDU command
         final static byte[] text    = {(byte) 'A', (byte) 'M', (byte) 'I', (byte) 'T'};
         public static byte[] holder;
         public static void install(byte[] bArray, short bOffset, byte bLength)
            new GetName();
        protected GetName()
            holder = new byte[5];// allocation of memory in runtime
            register();
        public void process(APDU apdu)
              if(selectingApplet())
                   return;
            byte[] cmd_apdu = apdu.getBuffer();         
             if (cmd_apdu[ISO7816.OFFSET_CLA] == CLASS)
                   switch(cmd_apdu[ISO7816.OFFSET_INS])
                        case INS_READ:  
                        if ((cmd_apdu[ISO7816.OFFSET_P1] != 0) || (cmd_apdu[ISO7816.OFFSET_P2] != 0))
                        ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
                        short le = (short)(cmd_apdu[ISO7816.OFFSET_LC] & 0x00FF); 
                        short len_text = (short)text.length;                      
                        if (le != len_text)
                        ISOException.throwIt((short)(ISO7816.SW_CORRECT_LENGTH_00 + len_text)); 
                        apdu.setOutgoing();                      
                        apdu.setOutgoingLength((short)len_text);
                        apdu.sendBytesLong(text, (short)0, (short)len_text);
                        break;
                    // here we save data from apdu and will keep inside the data byte                   
                        case INS_WRITE:
                    short lc = (short)(cmd_apdu[ISO7816.OFFSET_LC] & 0x00FF); 
                    Util.arrayCopy(cmd_apdu, (short) ((ISO7816.OFFSET_CDATA) & 0xff), holder, (short) 0, lc);
                        short len_holder_inside_write= (short) holder.length;
                       apdu.setOutgoing();
                    apdu.setOutgoingLength((short)len_holder_inside_write);
                    apdu.sendBytesLong(holder, (short) 0, (short) len_holder_inside_write);
                    break;
                    case INS_DY_CO:
                        short len_holder= (short) holder.length;
                    apdu.setOutgoing();
                    apdu.setOutgoingLength((short)len_holder);
                    apdu.sendBytesLong(holder, (short) 0, (short) len_holder);
                    break;
                        default : 
                        ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
             else
                    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    }now i think i need to make a another java file which would contain a main class, Is this both file would be inside a single java card project. and how these both would be connect to each other.
    for manually run a applet- there were two steps 1-
    C:\java_card_kit-2_2\samples\src\demo>jcwde jcwde-getname.app
    Java Card 2.2 Workstation Development Environment (version 0.18).
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    jcwde is listening for T=0 Apdu's on TCP/IP port 9,025.
    and in second terminal we wrote-
    C:\java_card_kit-2_2\samples\src\demo>apdutool -nobanner -noatr getname.scr > ge
    tname.scr.jcwde.out
    Here it is clear that, if i will use javacardio then no need to pass the apdu from a file .....but i am confuse about how it possible, ie. is both file lie in same project , because i m using simulator so i need to run these both file simoltaneously........give me some roughly steps to implement this.

  • Memory Card applications

    I have recently updated my phone (N95-1) to version 21.0.016 however applications which I had installed on my memory card from before updating my phone now no longer appear in any menus on my phone, they do however appear as installed on the application manager.
    Any help greatly appreciated!!
    Solved!
    Go to Solution.

    You have to re-install them again to make them work. This is normal behaviour.
    For future reference it's always better to install programs and themes on the internal memory as this helps to improve the performance of the phone.
    Message Edited by psychomania on 24-Jul-2008 09:39 AM

  • Simulation of Smart Card Application

    Hi ppl,
    Sorry I have some stupid questions again. It's just after I've read some books but still I'm a little confused about some concepts, I really hope you guys can help me out.
    First, in order to simulate the smart card operation. What exactly is needed to implement? I thought it was just the card and the reader, I mean just two programs, one for card and one for reader, talking ato each other. But after I've read some books, some said it involes three entities, the host, that is the application, the terminal, usually the reader, and the card. So I wanna know how many entities are involved actually.
    All along I thought it was just two entities, the card and reader communicating using ISO7816-4 commands. But now I saw some books saying the 3 parties version. So is it they're actually talking about different scenarios? If a reader has CPU power then it can generate commands to the card and so there're only two parties. But if the reader is simply a device as an interface for converting the programmed commands into electronic signals for transmission, then 3 entities are needed. Is that the case? Well, this is just my wild guess. So what do you guys think?
    Thanz!!
    Franky

    So you mean that middle ware is actually at the transport level? So yes when I go to the ATM, the prompt that I got is an application that asks me for PIN and so the card is acting on behalf of me and the reader is acting on behalf of the card company? Did I get it right?
    And one more thing, so in the ATM scenario, is it assumed that we trust the machine? Bcoz we have to key in the PIN, so if it is compromised, it is a security problem. Or is it bcoz there is already a mutual authentication carried out between the card and the reader so if the I am asked for the PIN, I can trust my card for authenticaing the machine.
    And o...last question, more low level, how do the card determine is it is a ATR packet or transmission has already started? I mean how does the card know if it is still negotiating the transmission protocol(T=0 or T=1)or one of the transmission protocols is already in use?
    Thanz very much !!
    Franky

Maybe you are looking for

  • What happens if you Time-Machine backup an encrypted file-vault HD?

    This is related to my previous post - but deserves special mention for those people who are using time-vault AND Time-Machine. My question is this: If the backup of my Hard-drive is encrypted, and I then reinstall from backup, what will this situatio

  • Initial Opinion of iPhone as PDA

    Since the iPhone is really a full-fledged computer (it runs Mac OS X), it should shine as a PDA. But it doesn't. There is no global search ala Palm OS. Add-on PIM-like apps can't send pop-up alerts like SMS or Calendar can. That the Apple SDK doesn't

  • Default profit center not picking

    Hi I am using document splitting and i assigned some Balance sheet accounts to the profit centers in FAGL3KEH. But that GLs are not picking the Default profit centers. I also tried in 3keh but there also not able to do. Can anybody tell that where i

  • Still no solution for iFrame scrolling

    Hi, I really need to let iPad users scroll into an iFrame. Despite what is said, this does not work. Using two fingers doesn't scroll anything. My website has an embedded WordPress blog, that's why it uses an iFrame. Even if you an object instaed of

  • Write CLOB XML output to a file on UNIX box (file size 32 K)

    All, Can someone give me a sample code of how to write a CLOB output in a CLOB variable (holds XML output generated from DBMS_XMLQUERY) to a text file on UNIX box? I found on ask tom a technique which only write upto 32K length. My CLOB output is mor