Am 21.09.12 03:05, schrieb Roger Brown: > Hi, > > Given that javax.smartcardio is Java6, and Android is really Java5 and > Android already has an NFC API can you explain the architecture of your > solution? > > Do mean a host computer running Java6 is talking to the Android phone which > is acting as the NFC reader? > > To plug into the javax.smartcardio all you need to write is your > TerminalFactorySpi in Java. So you can do the whole thing in Java, no need > for pcsc-lite. > > 1. write TerminalFactorySpi in Java6 on the host to hook into > javax.smartcardio and providing your custom CardTerminal. > > 2. write an Android application that uses the Android NFC API to talk to > Smartcards > > 3. Decide how the phone talks to the host computer, if WiFi then just talk > TCP/IP. Otherwise you will have to work out a Bluetooth arrangement, simplest > may be over a Bluetooth serial port. > > Regards, > > Roger > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Christian > Prossenitsch > Sent: Friday, 21 September 2012 12:41 p.m. > To: [email protected] > Subject: [Muscle] Driver for an android smartphone, using the phone as a > reader > > Hi, > > My bachelor thesis is about writing a driver for an android smartphone, using > the device for reading smartcards instead of an usb reader. > It's essential for the driver to support java (javax.smartcardio) which is > using pcsc-lite on linux as the middleware. As I'm not really aware of the > functionality of pcsc-lite, I'm asking for help where I can start > experimenting with the driver. The driver should communicate wirelessly with > the smartphone, but this shouldn't be a problem I think. I would be really > greatful for every tip regarding my project. As this description is very > shallow, don't hesitate to ask if something is not clear. > > Thanks in advance, > > Christian > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.2221 / Virus Database: 2441/5281 - Release Date: 09/20/12 > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle hello, and thanks for your reply
your solution is of course valid, but the problem is that already existing applications should also recognise and work with the smartphone as a reader (in best case every app that is using pcsc-lite as a middleware). so the architecture would look like this: NFC capable smartphone with reader software <----> apache server which delegates connection between smartphone and driver <----> linux driver <----> pcsc-lite middleware <----> application this is a short recap of the architecture i thougt about. Hopefully this is somehow realizable, every hint would be welcome. thanks Christian _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
