I have an SWP supported smart card. I want to install an HCI applet (i.e. Host Controller Interface applet) to use over NFC in an NFC supported mobile phone.
I have written a sample applet and compiled successfully, and now I'm ready to download and install this applet on my smart card (USIM).
Unfortunately, when trying to download this applet on my sim, I get the following error:
I'm using PyApduTool for this purpose. where am I wrong or am I missing something? Is there any prerequisites or configuration needed?
Is there already an applet or remaining package installed on the card? Use a GET STATUS call for this.
Does the applet requires some parameters to get installed? These are some byte encoded parameters passed to the install method of the Java Card applet. If the HCI applet needs it, it can throw such a status word.
Does the applet need some special UICC toolkit parameters, i.e. is it a toolkit applet? A toolkit applet is an applet being able to react on external event, i.e. in or out call, OTA, location changes of the device, providing STK menu structures, ...
If nothing helps try it with another tool. I'm just trying to release a newer version of GPShell and would be interested in a beta tester. This a tool is written in C, there are also Java based tools, e.g. GlobalPlatformPro whatever fits your environment better.
Related
I want to run a third-party application from gwt for manipulating a local file and after this send file to server. I released the feature for uploading and sending file to server, but between these steps I want to change something in this file (with 3-rd party application installed on client machine). The main problem is that the applet cannot be used because nor Chrome, nor Mozilla do not support it. Are there some examples of other tools and technologies to do this?
The FileReader and FileWriter api can be used to work with local files. I think the htmt5rocks has a good example of how this can be done with javascript. These processes can be used with GWT elemental FileReader and Writer. I've added links to the javadoc below.
http://www.html5rocks.com/en/tutorials/file/dndfiles/
http://docs.sencha.com/gxt/4.x/javadoc/gwt-2.7.0/index.html?elemental/html/FileReader.html
http://docs.sencha.com/gxt/4.x/javadoc/gwt-2.7.0/index.html?elemental/html/FileWriter.html
Answer is simple: GWT is client-side technology. You cannot run 3rd party application installed on client side, access local drive files or so.
If you want to change some local file fromt GWT application, then you need to expose Java Applet, do operation on server side and then process it.
Why are you saying Firefox and Chrome don't support it?
Is it possible to send a javascript command to a site and determine the GWT version running in the browser? The reason I ask is because our QA folks are certifying our software and need a way to look at the version running without taking our word for it by looking at the IDE.
I know that I can do java -jar gwt-dev.jar, but normally we do not deploy that with the software.
The built-in GWT linkers generate a $gwt_version variable in the *.cache.* files.
Assuming you don't have other frames in your app, your GWT app will be in the first frame so you can then get the GWT version used to compile it with frames[0].$gwt_version.
I was wondering if there is any third party module to replace Webmin Java file manager. I couldn't find anything in Webmin website. so is there anything I can try?
Yes, java applets are not supported in Android devices but sometimes you simply need to quickly edit a file on your server (webmin) on the go from your mobile / smart phone for example and you are done. It will never work... There are hacks, cracks and all sorts of "unofficial" stuff but this is not what I prefer. It would be great to replace java-applets based file manager in webmin for let's say php file manager that would have the same or at least half of the functionality to be able to edit files on the go in webmin... Webmin on computer = java applets file manager, Webmin on Android devices = something else that works.
I have a java applet and i'm developing a windows store app. I want to integrate my applet to this application. Is this feasible.. if yes... can you tell the process.
Thanks,
Harsha
You won't be able to run this within a Windows Store application since plug-ins (you'd need Java installed) are not allowed for WebView (or for the non-desktop version of IE 10 in general - Flash excepted for some sites).
It is not possible at the moment. When you were installing Java you must have missed the Java doesn't work in Metro.
You should probably be able to run your Java Applet into a WebView but I am not sure if that's a good practice or not. You should convert your java applet into a HTML5/JavaScript application or C# application for optimum performance.
Our app has 3 ways to launch...
Applet in a web-page
Desktop application
WebStart
WebStart currently launches the applet but we prefer it to launch the desktop class instead. However, the desktop version expects all resources to be there already whereas WebStart should download resources like an applet.
Specific code in each case is not the problem, but figuring out which way the app was launched is... we don't want to try downloading content for the full desktop application.
Some ideas:
Set a property in the JNLP files to indicate it is JWS.
Do a try/catch on loading one of the JNLP API classes. They will not be on the run-time class-path of the 'naked' desk-top app., but will for the apps. launched by JWS. Some examples of loading the JNLP API classes can be seen in these demos.