JAVA Card Application development in Project Add applet

Source: Internet
Author: User

In the previous blog post, JAVA card application development created the first applet, which introduced a project from scratch.

So, after we've built this project, there's only one application (an optional aid), and if I want this project to have multiple applications (with multiple aid options), I can choose PSE, choose Ppse, and have multiple aids in the project after initialization, so how do I add an aid to my projects?

1. In the existing project name, right-click, select "New", and then select "Java card Applet", such as 1.


Figure 1. New Applet

2. A dialog box will pop up and fill in the name of 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 and we can see that the "Qpboc.java" has been added to the project as well as the relevant code. such as 4.


Figure 4: Project structure

5. At this time, we need to add our QPBOC application in the simulator, click the dropdown box next to the Debug icon (a green bug), you can see the Debug Configurations dialog box, such as 5.


Figure 5. Configuring the Debug Configuration

6. Click on the "Package Upload" tab in this dialog box and double-click on the "Testpackage" that has been built, the optional applet will pop up, such as 6, select Qpboc, click Apply, and click Debug.


Figure 6. Join the new aid

7. Jcop will run up and see our new QPBCO application, A00000000303, has become application:selectable. 7.


Figure 7. Jcop Run

8. At this point, you can send/send 00a4040006a00000000303 to feel it.

Description: "Java Card Application Development" series of blog is I in the process of Learning Java card record, there is a wrong place, please point out.

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.