I am using Jdeveloper 11g , and wanted to develop a barcode scanner in java, I have found Zxing thru googling and more over its opensource.
I have downloaded the Zxing-2.0.zip and found many folder for different technologies like javase, cpp, android etc, i suppose these folders are intended only for those technologies, if i want to develop in java i find two folder javase and core which have exclusive java code, but I am not sure how to use them in Jedeveloper 11g.
Can some one recommend some tutorial? Some link where I can get useful information on where to start?
You build a library out of all needed jars to work with zxing and af thus to your project. Then you can start working with the zxing classes. I'm sure there are some samples on the zxing site you can refer to.
Related
I'm trying to create my first xlet project.
Can you help me?
I don't know which library I need to download.
What kind of project I have to create? (I'm using netbeans)
This site has a lot of useful info:
http://www.interactivetvweb.org/tutorials/javatv/first_xlet
You can use XletView to view your Xlet.
http://sourceforge.net/projects/xletview/
You will need to get a hold on the various API's, which is somewhat troublesome (I've heard).
But there are also other ways of getting them. For example, if you own PowerDVD, you'll be able to find BDJ.jar somewhere in that package. Add that to your classpath, and you'll be able to compile your Xlet.
If you're running Windows, you can probably develop Xlets with JavaME SDK 3.0 too (sadly not available for Linux though).
I'm using the zxing javase client library along with the zxing core library to generate QR codes from URLs in a java application. I need to generate custom colored QR codes and looking at the javadocs, using MatrixToImageConfig with MatrixToImageWriter (both in the javase package) seems to be an ideal solution. However, the latest version of zxing(2.0) that I found on the downloads page doesn't have any class named MatrixToImageConfig.
The file is present in the latest code that I downloaded from subversion. Has this been feature been released yet ? If no, is there some other way to achieve this using zxing?
Yes it was added after 2.0. It is in Subversion; you can just use the code / JAR from Subversion or use 2.1-SNAPSHOT in Maven.
I am a newbie to AspectJ and to learn it I am trying to search for some open-source simple applications that use AspectJ for the web but I am unable to retrieve any. I am trying to build a filter through this technology but I am not able to find any working examples that are suited in particular to Eclipse/Tomcat.
You can get (many variations) of a simple e-commerce application built using Spring+AspectJ from http://manning.com/laddad2 (click on "Source Code" link).
Not sure they're specifically targeted at Tomcat, but the examples at
Eclipse AspectJ Sample code ought to give you a start.
I'm looking for some static library or open source project (in obj-c, released under some permissive license) to parse CSS in iPhone. Any recommendations?
OK, I found good library for parsing CSS - libCSS from the NetSurf web browser project. Released under MIT license, can be used without problems for commercial iPhone applications distributed via the AppStore.
It requires some code for the programmer to write (e.g. you need to provide your own DOM hierarchy handlers), and there are no examples available... but people from the NetSurf dev mailing lists are very helpful. In case of problems you can search the list for my questions.
libCSS
NetSurf dev mailing list
I would recommend htmlcxx. It's pretty actively maintained, written in C++ and you can use it to parse HTML and CSS.
Of course, since it's written in C++, you can use it in your iPhone application with no problems at all.
I've taken this project and made it easy to add to your iOS or OSX projects. Clone my github project and add the html (and or css) folder to your project. There is an Xcode project too - so you can build and run the simple test provided by the original authors
I am using the latest IDE for eclipse and have attached the blackberry 5.0 sim. i am a new bb developer and i was wondering if there is any way of integrating java 1.6 classes (or any 3rd party jars) within the blackberry project without getting an error similar to the following:
org.apache.axis2.util.Utils$3: Warning!: Duplicate method only differs by return type: run
org.apache.axis2.jaxws.util.WSDL4JWrapper: Warning!: Duplicate method only differs by return type: getFirstPortBinding
C:\Program Files\Eclipse\axis\axis2-1.5.1\lib\axis2-transport-http-1.5.1.jar(org/apache/axis2/transport/http/ApplicationXMLFormatter.class): Error!: Duplicate definition for 'org.apache.axis2.transport.http.ApplicationXMLFormatter' found in: org.apache.axis2.transport.http.ApplicationXMLFormatter
I know why i am getting this error (because of duplicate definitions for the same class)....but am i really stuck just sticking to "net.rim" classes within my project? if i wanted to use the "asList()" method, can i not do that because that's outside of the RIM classes?
I am really just hoping that i can integrate outside jars into my blackberry project without getting "duplicate" warnings and error messages.
All source code and external libraries used in your BlackBerry app must conform to J2ME which you can think of as a subset of the Java SDKs. J2ME is quite limited - for example there are no Collections classes in J2ME (just the older Vector, etc.). The language level used by the compiler is Java 1.3.
So in a nutshell - you're going to have a hard time porting over third-party libraries unless they were specifically designed to run in a J2ME environment.
You can't uses the JDK 6, you need the JDK 5.
You can integrate third parties jars except if you want:
I/O
Swing
In those cases you need to uses the Blackberry API.