Java Card Please Help!

Please I am doing my final year project on secure mobile application using Java Card Technology.
I need to write and an application that can send SMS on a SIM card to another SIM card with the same application. The application will have a server side which manage the storage of messages and at the same time communicate information to the client on the SIM remotely. I am suppose to use wi-fi (TCP/IP) for transmission.
Can anybody please give me ideas and possible working codes and simulators.
I mean step by step procedure of how to start.
THANK YOU.

Hi,
I found the following resources helpful when starting out in JavaCard.
JavaCard documentation:
Java Card Technology for Smart Cards: Architecture and Programmer's Guide (Book)
http://java.sun.com/docs/books/javacard/index.html
JavaCard specifications:
http://java.sun.com/products/javacard/specs.html
Global Platform specifications:
http://www.globalplatform.org/specificationview.asp?id=card
Communication between SmartCards and terminals is based on ISO 7816 part 3 and 4 so if you�re completely new to the SmartCard environment it may be helpful getting an overview regarding these specifications. Unfortunately these specifications are not free, they�re available from.
http://www.iso.org/iso/en/ISOOnline.frontpage
Software:
The basis for all development is the JavaCard and Java Development kits.
Java Development Kit
http://java.sun.com/j2se/1.4.2/download.html
JavaCard Development Kit
http://java.sun.com/products/javacard/dev_kit.html
Full installation instructions can be found in JCDevKit_User_Guide.pdf which is contained in the JavaCard Development Kit distribution.
Several companies provide IDE�s that will aid you in developing and deploying applets to JavaCard.
For example:
Aspects Developer
http://www.aspectssoftware.com/devtools/index.html
There are others out there as well. You may need to also buy physical sample cards; however, the IDE�s usually have simulators built in.
Hardware:
To interact with physical cards you�ll require a PCSC compatible card reader.
Omnikey
http://www.omnikey.com/
GemPlus
http://support.gemplus.com/gemdownload/readers/index.aspx
Hope this helps.
Cheers,
Alasdair

Similar Messages

  • I have a problem in the data entry Visa card please help

    I have a problem in the data entry Visa card please help

    abdulaziz711 wrote:
    I have a problem in the data entry Visa card please help
    Is this what you mean...
    http://support.apple.com/kb/TS1646
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Displaying Picture in a Java APPLICATION please help!!

    I have been trying to write a method that Displays a .jpg file when called. However I have not gotten far, every book I have tell you how to display pictures in an applet but not an application. I did find some code that is supposed to be for an application, but It does not compile right. Any help would be apprecidated!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PictureIt{
    public void makeImage() {
    //***Image Output Stream
    String imgFile
    = "d:\\temp\\TestImage.jpeg";
    out = new FileOutputStream(imgFile);
    BufferedImage image = null;
    image = (BufferedImage)createImage
    (panelJpeg.size.width, panelJpeg.size.height);
    Graphics g = image.getGraphics();
    panelJpeg.paintAll(g);
    }

    Displaying Picture in a Java APPLICATION please help!!
    Hope this helps.There is going to be two classes compile seperatly first class is what does the drawing
    here it is
    import javax.swing.*;
    import java.awt.*;
    public class draww extends JPanel {
    Image ball;
    int width1 = 100;
    int height1 = 100;
    public draww() {
    super();
    Toolkit kit = Toolkit.getDefaultToolkit();
    ball = kit.getImage("pic1.gif");
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D) comp;
    comp2D.drawImage(ball, 20, 20, width1, height1, this);
    sound class is the container JFrame here it is
    import javax.swing.*;
    import java.awt.*;
    public class drawing extends JFrame {
    public drawing() {
    super("draw");
    setSize(400,400);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container pane = getContentPane();
    draww d = new draww();
    pane.add(d);
    setContentPane(pane);
    setVisible(true);
    public static void main(String[] args) {
    drawing drawing1 = new drawing();
    PS Hope this helps and see you around

  • I have apple id but in this week i see this error : you must verify your payment info befor you can make purchases. please help me. i have not credit card but i buying apps with gift card. please help me

    i have apple id but in this week i see this error : you must verify your payment info befor you can make purchases. please help me. i have not credit card but i buying apps with gift card. please help me

    Why do you keep making multiple posts with this issue? You have now posted it three times in the last hour and have two different people helping you in two different threads!
    https://discussions.apple.com/message/18606895
    https://discussions.apple.com/message/18606685
    This is bad internet manners.

  • HT201209 i can't reedem my itunes gift card please help me

    i can't reedem my itunes gift card please help me

    What happens when you try to redeem it ? Are you getting any error messages ?
    Depending upon what the problem is, if this page doesn't help then you will need to try contacting iTunes Support (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • J2me and java card, need help to communicate

    we are trying to put together a reader to read smartcards using j2me and we figure that it would be easiest if we could develop it to work with java cards rather than standard smart cards, the problem is we get garbage when we communicate to it, the chip sends us crap, any suggestions what might be wrong, any calls we might be missing, has anyone worked with j2me and java cards or smart cards, any help would be appreciated.
    einar

    .... reader app and the ME behind it .... smells like mobile ....
    First of all - if you want to have one mobile application running on this just make sure that whatever is written in ME can use drivers from the reader chip ....
    Workin on the PC is something completely different. There was one good example how to develop one host application in Java provided with the JCOP tools long ago ... I don't know if this is now in the new Eclipse tools.
    But - there was a small API provided that can give you good hints what to do - and - once you have it on the reader side - you can easily integrate ME methods with this ...

  • Can't download anything from app store or itunes. everytime i try to install an app i get "there is abilling problem with a previous purchase. please update ur payment method". i have recently changed my address and visa debit card. please help

    can't download anything from app store or itunes. everytime i try to install an app i get this error "there is a billing problem with a previous purchase. please update ur payment method". i have recently changed my visa debit card and home adress and when i make these changes i still get the same error.
    will u please help me out?

    Are you listing the billing address for the card correctly? The address in the iTunes/MAS account must match the address on your bill exactly.

  • How do you set up a unlocked iphone from apple with a tmobile sim card, please help

    i got an iphone 4 as a gift from my grandma and its an unlocked one from apple the store.
    they told her my tmobile sim card would work in it but id have to get it cut. so i went and got
    it cut and put it in. but the iphone 4 still says no sim. im so confused. please help!

    How was the iPhone unlocked? First go to tmobile and get
    a new proper size SIM card to see if that is the problem.

  • URGENT!!! Java Gurus Please Help with adf issue!

    PLEASE SEE MY LATEST POST BELOW TIMO'S RESPONSE. THE REQUIREMENT HAS CHANGED. THAT IS THE ISSUE I AM LOOKING A SOLUTION FOR.
    Hello All,
    We have a requirement where our adf/jsf app needs to pick an EXCEL file from the server where the application is deployed. The sequence is :
    User comes to the page
    Clicks on "Open EXCEL" button
    EXCEL file located in the c:/ of the server opens up.
    How can this be done? I do not see any coding needed because the EXCEL file is being opened as is (and after user views it he closes the file) and the data is not being transferred to the jspx page.
    *We are totally flexible in how this is implemented - ie, using button, link , html etc etc. What ever works!!!!*
    Thanks,
    Edited by: user12054715 on Aug 17, 2010 8:54 PM
    Edited by: user12054715 on Aug 18, 2010 4:11 PM
    Edited by: user12054715 on Aug 18, 2010 4:13 PM

    Hello Timo,
    I am using 10.1.3g so your response is not going to help me.
    However, I have another question that I have already posted on the Forum. Please help me...
    Requirement:
    *1. Java application should be able to write "Hello World" in the excel file, when the user opens it.*
    I CAN DO THIS WITH THE FOLLOWING CODE:
    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet("newSheet");
    HSSFRow row = sheet.createRow(1);
    row.createCell(1).setCellValue("HelloWorld!!!!!!!!!");
    *2. A "Write To Excel" button on jsf page opens a dialog asking user to Save or Open the excel file. (user can save the file anywhere on his machine)*
    I CAN DO THIS WITH THE FOLLOWING CODE:
    In jsf:
    <af:commandButton text="Download" action="#{myBackingBean.writeToExcel}" useWindow="true"/>
    In backing bean:
    public static void writeToExcel() throws IOException
    String filename = "workbook.xls";
    // //Setup the output
    String contentType = "application/vnd.ms-excel";
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
    response.setHeader("Content-disposition", "attachment; filename=" + filename);
    response.setContentType(contentType);
    PrintWriter out = response.getWriter();
    BOTTLENECK: When the user opens the excel how do I show "HelloWorld!!!!!!!!!" ?

  • How to program this in java? Please help

    How to program this in java?
    please explain steps, it has to come out like this:
    example
    input: 3b1w3b
    output:
    BBBWBBB

    import java.io.*;
    public class Test {
    static java.io.PrintStream o = java.lang.System.out;
    public static void main(String[] args)throws Exception {      
         BufferedReader BR = new BufferedReader(new InputStreamReader(System.in));
         System.out.print("Enter plot for printing: ");
         String s = BR.readLine();
         char[] cs = s.toLowerCase().toCharArray();
         for(int i=0, j=0; i < cs.length-0x1; i+=0x2, j=0)
              while(j++ < (int)(cs[i]-0x30))
                   o.print((char)(cs[i+0x1]-0x20));
    I tried changeing it to this so I can enter my own string, but I want to change it some more so that it can enter multiple input separated by space, so that it can form a sort of picture line by line. I tried using tolkenizer but I get errors. I dont know how to use tolkenizer properly can anyone please TEACH. you dont have to tell how or give me the code if you dont want to. yes I know Im a noob and I dont know java as good as everyone here, If everyone thinks I don't deserve help then DON'T help, I'm just trying to learn programming

  • Java Import -- please help!!!

    I look into http://otn.oracle.com/sample_code/products/forms/content.html for the demo of Java Importer.
    Does anyone knows where / how can I get the source code?
    According to that demo, the Importer creates functions called new() for each of the constructors in the class.
    For me, after I imported one of the class "successfully",
    I can't see this function new().
    How can I get it? Does anyone has the sample code for the package body?
    Please help!!! Anybody?
    thanks

    Hi Shay,
    Where is this src subdirectory?
    I see other demo (i.e the Oracle 9i forms demos) with source in it, but not Java Importer demo. It only has Viewlet next to it.
    Am I looking into the wrong thing?
    thanks

  • Java VM Please help, Cannot remove and cannot Reinstall.

    hello, I hope somebody can help me out here, I'm at my wits end. First of all I have xp pro file system NTFS, I have AOL DSL Broad band. I have attempted to get my Java Download DAYS ago and something went terribly wrong.
    After the download I noticed that my java VM was not working so I attempted to remove it.
    The program uninstalled but not totally. In My add remove software it says this: JAVA 2 RUNTIME ENVIROMENT, SE v1.4.1_01 size 88kb.
    It has the regular change/remove but when pushed it uninstalls Then asks this: DO YOU WANT TO COMPLETELY REMOVE THE SELECTED APPLICATION AND ALL OF IT'S COMPONENTS? AND INSTEAD OF ASKING YES OR NOW IT HAS ON THE BUTTONS "OK" AND "CANCEL tHEN IF YOU SELECT OK IT ACTS AS IF IT IS UNINSTALLING BUT THEN IT STAYS RIGHT WHERE IS WAS.
    With this being this way the download program will still do the download, But then states that there is already one in there, Then prompts to Would you like to uninstal this? ad then uninstals it but the same results happen, no working copy is installed.
    If I try this: START RUN COMMAND Then type in jview te computer says "view is not recognised as an internal or external command,operable program or batch file."
    If i go to the java cup in control panel, open it it reads " The system cannot find the registry key specified.: Hkey_local_machiene\software\javasoft\javaplugin\1.4.1_01"
    From what I have described, cansomebody please help me to get a working a copy of java VM in my system? Please. My whole Buisness centers around placeing items for sale on Ebay and I cannot do this with out the VM. I really need help fast.
    I can be emailed or imed, imeverlast is also my aol name. Please hurry if you know that answer to this problem. Thanks a Million! ;)
    MD

    If you want, I can fix you with remote assistance. Just ask. [email protected] (remove the leading )

  • Java beginner, please help!! (oracle jdbc setting)

    Hi, I am a java beginner. I can't access remote oracle db from my computer. please help me. I can't figure out the problem.
    1.The error------------------------------------------------------------
    Exception in thread "main" java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:532)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at testdb.main(testdb.java:9)
    2.JDBC DRIVER is in----------------------------------------------------
    c:\j2sdk1.4.1_02\jdbc\classes12.zip
    3.CLASSPATH is --------------------------------------------------------
    .;c:\j2sdk1.4.1_02\bin;c:\j2sdk1.4.1_02\jdbc;
    4.My program is--------------------------------------------------------
    import java.sql.*;
    class testdb
    public static void main (String args[])
    throws SQLException,ClassNotFoundException
    Connection conn=
    DriverManager.getConnection("jdbc:oracle:thin:@111.31.111.11:1526:ORA81","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset=stmt.executeQuery("SELECT EMPNO FROM EMP");
    while (rset.next()) {
    System.out.println (rset.getString(1));
    5. Why can't i connect to db?

    Hi...i have the same problem and can't seem to solve it
    this is my source code
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class TextToDatabaseTable {
    public static void main (String[] args) {
    try {
    // connect to db
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@cs-bid:1521:SVRDESK", "lynn", "abc");
    catch( Exception e) {
    e.printStackTrace();
    and this is my error
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at TextToDatabaseTable.main(TextToDatabaseTable.java:12)
    and i try the methods above
    C:\download\Lynn>java -classpath c:\download\lynn;classes12.zip TextToDatabaseTable
    C:\download\Lynn>java TextToDatabaseTable
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at TextToDatabaseTable.main(TextToDatabaseTable.java:12)
    i'm using oracle 8i with tomcat on win 2k server.
    i dunno what's wrong with it...do i need to set any classpath?
    i have TOMCAT_HOME and JAVA_HOME Variables in My Environment Variables.
    Do i need to set anything for these variables?
    Do i need to download any patches? I'm kinda confused.
    Thanks!

  • Java native -- please help

    class HelloWorld {
    private native void print();
    public static void main(String[] args) {
    new HelloWorld().print();
    static {
    System.loadLibrary("HelloWorld");
    //this is .h file
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <C:\java\jdk1.5.0_06\include\jni.h>
    /* Header for class HelloWorld */
    #ifndef IncludedHelloWorld
    #define IncludedHelloWorld
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: HelloWorld
    * Method: print
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloWorld_print
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif
    //this is .h file end
    // C File starts
    #include "C:\java\jdk1.5.0_06\include\jni.h"
    #include <stdio.h>
    #include "HelloWorld.h"
    JNIEXPORT void JNICALL
    Java_HelloWorld_print(JNIEnv *env, jobject obj)
    printf("Hello World!\n");
    return;
    //C file ends
    I have used following commands to create dll
    cl -I"C:\Program Files\Microsoft Visual Studio 8\VC\include" -I"C:\java\include\win32"
    -I"C:\java\jdk1.5.0_06\include\win32" -I"C:\Program Files\Microsoft SDKs\Windows\v6.0\Include" HelloWorld.c
    -FeHelloWorld.dll -LDd -MD -link -libpath:"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\LIB"
    -libpath:"C:\Program Files\Microsoft Visual Studio 8\VC\lib"
    At runtime I get error the " an atempt has made to load a C library in correcty" and then error
    "A dynamic link library (DLL) initialization routine failed"
    please help me ASAP.
    thanks in advance.

    class HelloWorld {
    private native void print();
    public static void main(String[] args) {
    new HelloWorld().print();
    static {
    System.loadLibrary("HelloWorld");
    //this is .h file
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <C:\java\jdk1.5.0_06\include\jni.h>
    /* Header for class HelloWorld */
    #ifndef IncludedHelloWorld
    #define IncludedHelloWorld
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: HelloWorld
    * Method: print
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloWorld_print
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif
    //this is .h file end
    // C File starts
    #include "C:\java\jdk1.5.0_06\include\jni.h"
    #include <stdio.h>
    #include "HelloWorld.h"
    JNIEXPORT void JNICALL
    Java_HelloWorld_print(JNIEnv *env, jobject obj)
    printf("Hello World!\n");
    return;
    //C file ends
    I have used following commands to create dll
    cl -I"C:\Program Files\Microsoft Visual Studio 8\VC\include" -I"C:\java\include\win32"
    -I"C:\java\jdk1.5.0_06\include\win32" -I"C:\Program Files\Microsoft SDKs\Windows\v6.0\Include" HelloWorld.c
    -FeHelloWorld.dll -LDd -MD -link -libpath:"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\LIB"
    -libpath:"C:\Program Files\Microsoft Visual Studio 8\VC\lib"
    At runtime I get error the " an atempt has made to load a C library in correcty" and then error
    "A dynamic link library (DLL) initialization routine failed"
    please help me ASAP.
    thanks in advance.

  • Java Installation: Please Help Me

    Please Help! For school we need to install JAVA. I installed JDK 5.0 and id did not work. I got exception in thread "main" java.lang.noclassdeffounderror: hello. I was using Texpad to write, compile, and run it. In short I deleted all JAVA 5.0 using My Computer program removal. I installed JAVA 1.4..2_10 and I am still getting that same error.
    My System Variable CLASSPATH still shows C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip. My System Variable PATH has nothing as far as JAVA in it. MY PATHEXT has JS and JSE amoung other things in it. My System Variable QTJAVA still has Files\Java\jre1.5.0_03\lib\ext\QTJava.zip in it.
    Please tell me step-by-step how I can fix this. I never updated these variables before. What do I need to type and where? What do I need to get rid of or change?
    PLEASE HELP!
    Thanks,
    Jim

    Topic was solved by adding .; to the class path.
    Jim

Maybe you are looking for

  • Creating pdf report from xml publisher report

    Hi, I'm newbie to xmlpublisher env. We've a report in Oracle 11i developed in unix shell script and run as concurrent program generating check details which will be printed on checks. I was asked to migrate this report into R12 in pdf format.They pro

  • HT204053 Can I use my icloud email address as apple id?

    I'm trying to update my current apple id ([email protected]) to [email protected] & I can't seem to get it to work. Can anyone advise why that might be???

  • JVM Coredump with libengine.so as the problematic frame

    Hi Experts, Our application is running over Tuxedo 9.0, and JVM 1.5.0_07-b03 mixed mode. We are experiencing coredumps frequently in production environment. The hs_err file shows the following information: # An unexpected error has been detected by H

  • I need help with 'Documents & Data' taking up all the space on my iPhone

    Hello, I have searched for days on the internet for a way to solve my problem but nothing and I really mean NOTHING seems to work at all. I can't buy any software either. When I go into Settings>iCloud Documents &  Data are off and have been off all

  • Printing Problem in Crystal Report From JSP

    Hi, I m calling crystal report from JSP.Report is parameterized.I m passing parameters from JSP.Report is displaying on the page,but when I try to print or export the report by pressing Print or export Button ,it displays an error message "Some param