Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
i´m trying to install an applet on my card but can´t find out how to. Is there someone who can help me may be a tutorial or so.
I tried JCManager to install and JSmartCardExplorer to start it
but it doesn´t work for me.
The Java Card OS Specialty Community has an up to date Applet Tutorial that should prove useful to you:
http://www.javacardos.com/javacardforum/viewtopic.php?f=31&t=114
Their forums should prove very useful to you.
Java Card is a subset of Java with language features similar to Java 1.3 and byte code similar to Java 2.0 (aka Java 1.2).
The Wikipedia article on Java Card has some additional resources as well:
https://en.m.wikipedia.org/wiki/Java_Card
Your experience may vary depending on the Java Card model and vendor, but the Speciality Community forums should be able to help wirh those details.
Well, you chose to go for Global Platform Pro, which is a very good tool for your task. So I would advise you to read the documentation from the Github page if you have questions about the usage:
Here you go
It covers all important parts, so here I will give you a general layout of what to do (independent from the tool you use):
1. Are you sure you have a JavaCard? Where did you buy it? Check all the documentation that came along with it. Because:
First and most important: you use a Card Manager that uses the Global Platform specification and before you can do anythingyou have to authenticate towards the Card Manager with the keys that were provided to you by your reseller or whoever. Cards often come with the default keys (0x40..0x4F) but some (e.g. Gemalto and G&D) have other preset keys. If you try to often to use them the card manager will lock itself and the card is bricked (this is kind of a brute-forceprotection).
If you figured this out you might want to know whats on the card,most tools have a command called ls for this.
Next you need an applet in an uploadable form, called a cap files.
Then you upload (some people say download, its a question of perspective) onto the card and afterwards you install/instantiate the applet.
In a productive environment you might now want to change the card manager keys or protect your card by any other mechanisms.
This information is only a minimum example, its important to read the documentation provided by your card vendor!!!
Good luck!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm planning to write a simple program that displays course prerequisites for students at my university in graph form (ie as a network of vertices and edges). I'd like to embed the program in a webpage to save people the hassle of downloading an executable.
Currently I'm looking at making my program a Java applet (Java also would give me access to the handy Swing library), but I don't like the fact that applets can't be viewed on most mobile devices.
What alternatives to applets exist for a project like this? I'd like to make it compatible with as many devices as possible, and also not have to build the graphics stuff from scratch.
One final consideration is I'm doing this mostly as a learning exercise. Ideally the tools I'd be working with would be helpful to know in the future.
Please don't use applets. They have been sufficiently deprecated.
The best way to do this is by using html/js/css. A lot of useful libraries exist that can help you with this task. jQuery seems obvious, but there's also d3.js or vis.js for displaying visual representations of data, and bootstrap for responsiveness (mobile friendliness).
You may use Angularjs with angular-chart for Showing graph in Web Browser.
If your graph data is dynamic you might use Nodejs and mongoDB for backend.
angular-chart is responsive and its easy to show dynamic graph. But as it uses HTML5 canvas some mobile browsers might not show its transitions smoothly depending on the device.
I personally do not prefer using applet in web browser when the same functionality can be achieved using great frameworks like Angularjs.
why dont you try to build your project through Servlet framework
by the way cgi were removed by servlet because of the handling of the request
applet uses the same concept
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to use Google In-App billing for my Android Apps using Libgdx. By default, it is a free apps for everyone. Some of the features will be unlocked once user paid a small fee (lets assume $1), and all features will be unlocked if user paid the full price (assuming $2).
I have a read on official Google's Billing site but I have no idea how to link it to Libgdx. The Official Libgdx Site doesn't really provide any clear instruction and explanation.
As at today, I still have no idea on how to link both Libgdx and In-App Billing. Furthermore, where is the information being stored (is it in the preference file?) when user purchased the unlocked item? I have absolutely no idea.
It will be great if someone lead me to the right path.
Read about the Libgdx way for Interfacing with Platform Specific Code.
Basically, you need to implement the in-app billing support within your Android project, and then expose an API to your platform-independent code to access whatever state you need. There really isn't anything libgdx-specific about the result, the billing code will all exist in your Android back-end, so most existing Android documentation and tutorials should apply.
See this forum post for a few more details:
http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=2544
Also, when searching, in Libgdx-land this is often called "IAP" support (for "in-app purchasing").
Libgdx has an extension library that provides in-app-billing services in a cross-platform way: https://github.com/libgdx/gdx-pay. You can use this as-is, or use it as an example for how to interface between core and platform-specific code.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am looking for a framework to visualize Circuit Diagrams in Java application.
I have to show Diagrams like that:
For one of my previous projects (in 2008 year) I used Jung. It worked well, but maybe somebody could propose more suitable for my needs framework? Does anyone have a similar task or know a good tools?
Also one of my tasks is to try to layout elements, because there is only info about connections in DB, but there is no layout information. I want to try to minimize manual layout work and looking for layout algorithms.
Thank you in advance.
PS: It is very desirable that the framework will be free.
PPS: Also I am interested in frameworks which can help to show (and edit) such type of diagrams using web browser.
Prefuse is very similar to Jung. I haven't used it extensively but I evaluated both Jung and Prefuse for our graph application.
Another web based option is Protovis which I came across during my evaluation. You can draw interactive graphs with it but I suspect you might need layout information already available to use this tool. Anyway looks like the authors are moving to a new library named D3 so you can check that out.
Another option I see is graphviz.
Here is a big list of graph visualization tools. http://www.mkbergman.com/414/large-scale-rdf-graph-visualization-tools/
I found a java framework named circuit. I think it could help you fix your issue.
http://code.google.com/p/circuit-framework/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
The plan is to create a list of Apache James learning resources, involving a wide a range of aspects from setting it up to using API from java.
If you read this and have some great tutorial at your fingertips, please drop a line or two.
I'll start with
The Official Apache James Wiki
an article by IBM: Working with James, Part 1: An introduction to Apache's James enterprise e-mail server
Some more resources:
http://www.mobilefish.com/developer/james/james.html
http://blyx.com/public/docs/JAMES_2.pdf
For version 3, here is the best I have found so far :
http://james.apache.org/server/3/config.html (not very helpful, but it is something)
http://www.mail-archive.com/server-user#james.apache.org/ (see questions of others)
https://james.apache.org/mail.html (mailing lists - when no docs are available, bugging people may help or force them to write more documentation... Although even that doesn't seem to work with Apache...)
If I manage to make it work the way I want, I might put some instructions here as well.
I'm PMC of James project.
We are working on making running James easier. So far :
We managed to make running it easier by providing docker images (Have a look to dockerfiles on github and https://hub.docker.com/r/linagora/james-jpa-guice/ (for instance) for automatically built image... )
We also made a CI system available for potential contributors : https://github.com/linagora/james-jenkins
We are working hard to a new website, more appealing, and that better present the project.
I understand your concerns, and actually think myself the documentation and communication of the project is a bit unfriendly.
I bielieve that some tutorial might help. Could you please :
Specify which use cases you are targetting (SMTP relay, IMAP server, integration of other applications with e-mails) and we can try to provide "tutorials".
Don't hesitate to contribute to the project. On the mailing list. Or with contributions to the website.
The right place to have such discussions is IMO the Apache James user mailing list.
Cheers,
Benoit
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am starting study java2me. But I have some source study about it like ebook, source sample code, and . Could anybody give some link website or source ebook study about it.
Great Tutorials/articles from sun:
Wireless Development Tutorial Part I
SUMMARY:This article contains
everything you need to know to get
started developing in the Java
Platform, Micro Edition (Java ME)
environment.
J2ME Tutorial
SUMMARY:What is J2ME? Cut away the
hype and the excess fat and you are
left with yet another (set of) Java
APIs. Since these APIs cannot run on a
traditional Java Virtual Machine
(JVM), due to the limited size of
mobile devices in regards to memory
and resource availability, J2ME
defines a limited version of the JVM
as well.
A book called J2ME Game Programming. This is the book I have enjoyed the most and recommend to everybody
I suggest having a look at LWUIT. http://lwuit.java.net/
I found good articles(with their documents) in samsung.Although this may not be for beginners.
My friends who happen to be J2ME developers always cite http://19-2.168.0.1 as a reference.
They also seem to like guiding everyone to the first results of google when being asked for a "J2ME TUTORIAL".
Fortunately, the first two google results are also the first stackoverflow result.
Also, try the J2ME site: http://java.sun.com/javame/index.jsp