First of all I would like to say thanks in advance because I know this is the best website to get answers related to IT problem.
Currently I am working on Code Generation that would convert my Class Beans(simple class
files) from J2SE to J2ME now my problem is that I want to have my serialize and de-serialize
for each class and wondering how could I use J2ME Polish library.
have a look at their web page. Serialization is pretty good explained, even with a short example. Click me.
They have also put together a example app that is quite illustrative. See ${polish.home}/samples/serialization
HTH
Related
I'm currently working on a school project related to QR Codes generation, and i have a really huge problem with the error correction system. I found this website http://www.pclviewer.com/rs2/calculator.html, it works like a charm but it's an online tool, and i need this exact functionality ported in Java. Is there any way i can found this ? I tried the zxing class but i can't figure how to only use the Reed-Solomon part (because of course it's the only part i can use).
Thanks you all for answers, and have a good day.
You should use the implemenation in zxing. I know you say you couldn't figure it out, but, surely if you look at the code you see the API. It doesn't get much simpler than:
https://code.google.com/p/zxing/source/browse/trunk/core/src/main/java/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.java#52
https://code.google.com/p/zxing/source/browse/trunk/core/src/main/java/com/google/zxing/common/reedsolomon/ReedSolomonDecoder.java#58
You can see how these are used, even, in QR codes:
https://code.google.com/p/zxing/source/browse/trunk/core/src/main/java/com/google/zxing/qrcode/decoder/Decoder.java#191
I have searched for ages but couldn't find what I am looking for.
I'm using highCharts.
Is there a method or project or something that creates generic highcharts charts for me? Currently I must make a javascript chart function for every chart I want. I want to make this generic.
So that I only have to ask the method getChart('line','etc'); something like this.
This way i dont have to code everything over and over again for each chart that I want.
(its for a Dashboard )
If this doesn't exists at all I will make it myself.
There are several libraries out there for producing highcharts. Many are listed on the highcharts download page here: http://www.highcharts.com/download under 'API Wrappers:'.
If you are most confortable working in Java, maybe you should check out GWT and the GWT Highcharts wrapper. GWT lets you write Java code, which compiles down into javascript.
Those ones are the bests http://www.highcharts.com/ i tried them and they work absolutely fine with great design just download them and make us know if you get problemes using them.
I'd like to write a java program that has the ability to input information onto an asp, and then read back the data that is returned from the asp.
Does anyone have any suggestions on how to go about doing this?
Is there an easier/more elegant solution than web scraping?
In order for Java code to work in ASP, it has to be compiled byte-code that can be read by the CLR. A quick Google search of "Java" + ".NET" yielded this: http://www.janetdev.org/
Another thing you could do is just learn C#. If you already know Java, there hardly is a learning curve.
I am a student and as a project i have to implement a barcode(1-D) based attendance marking system.While surfing across the web i came to know that barcode readers are a bit costly toys to purchase,so now what I want to do is I want to capture images of barcodes through a capturing device(mostly a webcam) and then process them to get the content stored in it.
I found a few projects on the internet that do the same but they use .NET f/w and I am not so familiar with .NET technology. The only project that uses java is http://sourceforge.net/projects/javabarcoderead/ but somehow i am not able to run the jar file they are providing.
SO, I would like to know about the algorithms or methods that can be used for the same or even any project from where i can get some insight on how to move further with this...
Happy Coding...
You're right, it would be very difficult to use a library with no documentation and no source code.
I'd suggest using ZXing. It's a well-documented library with lots of examples.
I am looking for an addon that can say characters vocally. It is for non-commercial use, and it would be nice if it can vocalize more languages, like asian, english etc...
I have googled it, but can't seem to find anything for free use.
Update: This is for web use
You could try http://espeak.sourceforge.net/ and make an mp3 of the word, then stream it to a flash application (you could use darwin for the streaming).
You can convert the text to speech in Java using freetts1.2 API. It is quite simple to use. This link could be useful for you which has an example program.
http://learnsharelive.blogspot.com/2011/01/convert-text-to-speech-java-freetts12.html
What yo uare searching for ist Sphinx4. Some free speech models for other languages can be found here.
A similar question has been asked regarding Java Text-to-Speech engines. Take a look at the question Java: Text to Speech engines overviewand see if any of the responses are helpful.
It's unlikely that you'll find an Actionscript 2.0 or 3.0 text to speech codebase, as sound synthesis is only just being introduced in the upcoming Flash Player version 10.
Java however has many, try this, this, or even that!