getting started with java card on sim cards

╄→尐↘猪︶ㄣ 提交于 2019-12-31 10:36:14

问题


I'm looking to write a simple beginner program using Java Card to run on sim cards. Can anyone point me to some very basic information on getting started? I've seen some descriptions of the toolkit api, but I'm looking for things like: what capabilities are supported by the sim card, how to upload my code to the card (do i need special hardware?), how do I tell whether a sim card supports java card, that sort of thing.


EDIT: I'm specifically looking to run code on sim cards. I've seen some very high level tutorials online, but nothing that goes as far as connecting to a sim card or uploading code. I have a USB sim card reader and a variety of cards to test, but I can't find any detail on how to work with them.


回答1:


To upload your code to a sim card, it seems to require one of these tools:

  • GPShell from the GlobalPlatform project
  • JCardManager which is part of the Gemalto Developer Suite
  • SIMAlliance CAT Loader

I've not got any of these to recognise my ebay sim card reader, so I think I'll have buy a different reader (probably from gemalto)


Edit: I bought the ACS ACR38 SDK, which includes 3 card readers and a selection of cards, along with drivers, code samples and tools. These card readers are working nicely with the Gemalto Developer Suite.

The Usability Lab tutorial provided with the Gemalto Developer Suite is a pretty good way of diving into sim card development.


Very interesting thing to note: it's pretty hard to get your code running on commercial mobile network operator SIM cards. They typically require the correct certificate before you can write to them.

There are hardware workarounds to this. I'm currently investigating TurboSIM and RebelSIM.


I finally gave up on this project due to other pressures. I was not able to get any Java Card running except on the dev cards, which are not compatible with real devices on a mobile network. The cutout cards such as TurboSIM and RebelSIM are a possibility but quite frustrating to work with.




回答2:


there is a nice quickstart tutorial on the netbeans page http://netbeans.org/kb/docs/javame/java-card.html



来源:https://stackoverflow.com/questions/3313992/getting-started-with-java-card-on-sim-cards

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!