hello everyone,
i want to make a project in java using which, we shall read all kinds os SIM cards and any other cards with Magnetic Strips.but i ma not getting any further info about it i.e how to start it plz help me on that or send me any other suggestion on which i work related to mobile applications

Dani AI

Generated

— the two technologies you named are very different and should be tackled separately. As noted, give a clear goal (do you want to read fields already on a SIM, build applets that run on the card, or just capture magstripe data from cards?). and pointed you toward smart-card tools and Java resources; below is a practical, up-to-date plan that fills the gaps.

For contact smart cards (SIM/UICC): use a USB PC/SC smart-card reader + SIM adapter so the SIM can sit in a reader. On desktop Java, the standard route is the Java Smart Card I/O API (javax.smartcardio) to enumerate readers, connect, and exchange APDUs; the card follows ISO 7816 command/response rules and many files are protected by PINs or operator locks. Start by learning to list terminals and send simple APDUs under a controlled test card environment. See Oracle’s Java Smart Card I/O guide and background on SIM cards for standards and security context (Java Smart Card I/O API, SIM card).

For magnetic-stripe cards: buy a plain magstripe reader (they usually decode tracks and present data as a USB HID keyboard or a serial/COM device). Track formats and field layouts are standardized (ISO/IEC 7813); in Java you can capture HID keystrokes or open the serial port (libraries such as jSerialComm/RXTX) and parse track strings. Beware: track data often contains payment PANs and is sensitive — avoid testing with real payment cards and follow legal/PCI rules. See Magnetic stripe card.

On Android: TelephonyManager exposes limited SIM identifiers (IMSI/ICCID) but low-level APDU access to the UICC is restricted; some devices provide the Open Mobile API (OMAPI) for secure-element access. Check the platform docs before assuming you can send arbitrary APDUs from an unprivileged app (TelephonyManager, ).

Recommended next steps: buy a PC/SC reader + SIM adapter and a simple magstripe reader, run Java smartcardio samples on your OS, experiment with a non-sensitive test card, then decide whether you need desktop tooling or an Android/vendor-specific route.

Recommended Answers

All 6 Replies

That's not urgent. I've no such requirement.

Your post doesn't offer a great deal in the way of guidance. You can't expect anyone to answer unless they at least have some idea of what it is you're trying to do, what your problems are, and some basic sense of how you want to go about it.

The kind of application you seem to be describing is complicated. Please provide more details.

We shall read all kinds os SIM cards and any other cards with Magnetic Strips.

Use Google to look for "Samrt card java tools"

What you are trying to do seems to me that you want to write a smart card reading software. There are few Java APIs to do this. Bit of googling would get you there :D


----------------------

dear proghelper,

thanx for the help.i think it will me help me a lot

Hi everyone,

This article is on smart card basics

http://www.smartcardbasics.com/cardtypes.html

The below two articles are on smart card implementations in java

http://www.javaworld.com/javaworld/jw-01-1998/jw-01-javadev.html

The below four articles are on java card

http://www.javaworld.com/javaworld/jw-03-1998/jw-03-javadev.html

http://developers.sun.com/techtopics/mobility/javacard/articles/intro/

http://developers.sun.com/techtopics/mobility/javacard/articles/javacard2/

http://www.javaworld.com/javaworld/jw-07-1999/jw-07-javacard.html

If you want to do mobile development see my reply at the below thread

http://www.daniweb.com/techtalkforums/thread22667.html

I hope this has helped you

Yours Sincerely

Richard West

Hi everyone,

piy_123, i forgot to mention that i have replied to your thread at wizard solutions about video conferencing in java

Here is the thread

Yours Sincerely

Richard West

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.