JAVA Card Application Development (ii) adding applets to the project

Source: Internet
Author: User

In the previous blog post. JAVA Card Application Development creates the first applet. Introduced a project from scratch.

So. After we built this project, there was only one application (an optional aid), assuming I wanted to have multiple applications for this project (with multiple aid options available). Just like after the card is initialized. I am able to choose PSE. Can choose Ppse, and there are multiple aid exist, then how to add aid to the project?

1. In the existing project name, right-click. Select "New" and select "Java card Applet". For example with 1.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvznjldwrfbhy=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

Figure 1. New Applet

2. The dialog box pops up. Fill in the name of the class.

For example, I want to build QPBOC applications, such as 2.


Figure 2. Create a new class

3. Click Next and the Figure 3 dialog box pops up.


Figure 3: Input aid

4. Click Finish. We can see that "Qpboc.java" has been added to the project, and that there are related code.

For example with 4.


Figure 4: Project structure

5. This time. To add our Qpboc app to the simulator, click the drop-down box next to the Debug icon (a little green bug). Can see the dialog box for debug configurations. For example with 5.


Figure 5. Configuring the Debug Configuration

6. Click on the "Package Upload" tab in this dialog box and double-click on the "Testpackage" to create the optional applet. For example, with 6, select Qpboc, and click Apply. Click Debug.


Figure 6. Add a new aid

7. Jcop will execute and see our new QPBCO application. A00000000303, has become application:selectable. For example with 7.


Figure 7. Jcop execution

8. At this point, be able to send/send 00a4040006a00000000303 feel.

Description: "Java Card application Development" series blog is my study of the Java Card in the process of recording, there is not the right place. Please point out.

JAVA Card Application Development (ii) adding applets to the project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.