Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java NFC (JSR 257)

I developed some small applications for the Nokia 6131 that supported NFC. The SDK was special for this device, and it implemented the JSR 257.

Now, I see different mobile platforms with proprietary SDKs, each one proposing different features (Android ICS, Meego, iOS).

I would like to know which platform still support JSR 257? Also, I want to know if learning JSR 257 is still interesting or which way I could take? NFC is currently expanding, and it would be interesting to know which are the standard tools to develop for this technology. I do not want to learn a new framework, and then see that in two years is completely obsolete and unsupported.

like image 657
AngocA Avatar asked May 29 '26 14:05

AngocA


2 Answers

JSR 257 is targeted at Java ME platform, so one can not expect its direct support on other platforms.

Android and iOS plaftorms are definitely different from Java ME:

  • J2ME VS Android VS iPhone VS Symbian VS Windows CE

As far as I can tell, Meego is a different platform, either.

I want to know if learning JSR 257 is still interesting

Per my recollection answer to above is no, unless one is comfortable with idea to be locked within a limited range of phone models, mostly from Nokia. Please note here I am referring to JSR 257 API, not to NFC in general.

  • In past project, I was assigned to review JSR 257 API analysis done by my colleague. His conclusion (to which I wholeheartedly agreed back then) was that JSR 257 API was quite poorly designed and that it would be quite difficult to write portable NFC applications using it.
like image 200
gnat Avatar answered Jun 01 '26 03:06

gnat


The only device that I am aware of that has used JSR 257 lately has been the NFC version of the Samsung S5230 (Tocco Lite). Apart from the Nokia specifics you might have used, your application should work on that. But that's about only device out there.

If you are planning to port the applications to other platforms, I'd start with Android as it will be the most familiar one to J2ME and thus the most easy one to port to.

like image 33
Tatu Lahtela Avatar answered Jun 01 '26 02:06

Tatu Lahtela



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!