Does Mifare 1k card support Java Card? - applet

I developed Java card applet on JCOP cards, and it's well loaded and worked fine.
Could I load the same applet on Mifare 1K or 4K card?
Because, I did not find any specification according to Java card or Global Platform support in the MIFARE documentation.
Thank you.

You cannot.
But there are Java cards with Mifare emulation available (by NXP and other vendors). Here MIFARE memory is accessible from your applet via special api (JetZ, Memory). Ask NXP for more details.

The applet in JCOP cards are only for Java Card platform that executes this applet. The MIFARE 1K or 4K can only store or use as secure storage following the DESFire API which had a fixed command set only related to secure storage but cannot do other stuff like run a custom applet. For custom applet, only a Java Card can do that. For example, a Java Card can emulate the DESFire API bcoz of a custom applet. But a MIFARE 1k/4k instruction set is fixed.

Related

Is there anyway to connect external credit card reader and use it in my flutter app?

I want to develop an app that will take the credit card data from the external credit card reader and will use it to talk with the credit company,
but I can't find any info about connecting a credit card reader to a flutter app.
You can't access external devices using flutter but it can be done using native plugins and method channels. you need to search for how to do it in android or ios and then implement it in each platform's project and then connect it to your dart code using a method channel.

Difference between a SmartCard with and without an applet installed on it?

Gemalto IDprime MD 830 SmartCard (amount 35$) has an applet installed on it. I want to know the difference between a java card that contains an applet and a blank SmartCard (amount 1-5$)? Is it secure/ good practice to write my own applet and install it in blank SmartCard?
The Gemalto smartcard has an OS, when you buy a blank card it comes with nothing, you'll need an OS an then you could start installing you applet. Also you'll need so much time to develope a complete OS so, the best option to develop an applet is buy one smartcard with some stuff inside

Firefox OS Architecture

Is there any information available on the core architecture of the Firefox OS? I don't mean developer-facing information only. I am interested in the underlying architecture similar to that of Android available here: http://www.zdnet.com/blog/burnette/how-android-works-the-big-picture/515
It is mainly Gonk (underlying linux kernel), Gecko (Firefox engine) and Gaia (user interface). On the Mozilla wiki you can find the full info on these layers; Mozilla wiki
In few words, Firefox OS is an environment where running HTML5-based applications (not only the mark-up language but all associated technologies including JavaScript, CSS3, web APIs...).
These applications run on an special browser called Gecko. You can consider Gecko as a Firefox with steroids with applications replacing web pages. In some aspects it lacks of some browser functionality but it implements a lot of APIs to provide a safe access to the devices.
Gecko is supported by the actual SO, Gonk. Gonk is a very simple distribution of GNU/Linux and it holds the Hardware Abstraction Layer or HAL placed between the device hardware and Gecko. Gonk translates low level hardware access to C++ interfaces and Gecko offers these interfaces to developers in form of JavaScript standard APIs.
More info in Mozilla Wiki
The main Firefox OS architecture is
Application (Gaia)
Platform (Gecko)
Infrastructure (Gonk)
There's a Overview and High Level Architecture slide(english) from Firefox OS AppDay in Spanish that elaborate the Architecture more concisely.
Check out the below link for full Firefox OS architecture along with security information:
Click here
On MDN you'll find a very similar image that explains exactly how Firefox OS works:
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture

ibm portlet 8.0 (JSR 286) device detection

I've been working on a IBM portal 8.0 and JSR 286. My requirement is to detect whether the request is coming from a PC Browser or Mobile or Tablet. I'm not using Web experience factory. It is just basic portlet project.
Please someone suggest is there any way (any helper classes or any other mechanism) for the device detection in IBM Portlet 8 (JSR286).
You can use jQuery in your portlet's jsp to detect the type of device. Otherwise there are other options available at detectmobilebrowsers.com

how to show applets on smartphone devices

i have created simple applet program and hosted in tomcat server.
it works good in PC's browsers. but when i try to load that page in smart phones (android, iphone ) could not work.
Does the applet supports on smartphones ?
or is there any additional configurations that i need to do ?
Is there any option to install java plugin on smartphones(android , iphone) browsers?
I think now most of smartphone not support applet.
But if you use framework like phonegap then may be you can get exact GUI.
And yes Android has not JVM so android can not run your applet contain class file.
And iphone also not support JAVA. Iphone support only Objective-C.