Utility To Generate Java Android Class And JAR File Interfaces For Delphi XE5 Firemonkey

Delphi XE5 Firemonkey Java Class Jar To PascalThere is a utility that was recently released called Java2Pas and it creates an interface out of a Java class or Jar file for Delphi XE5 Firemonkey. The goal being that it will allow you to create interface files for all kinds of Android JAR libraries. There is not much information about the utility but it appears to come from a company called Software Union in Luxembourg. It seems like the utility is a paid utility with a free version but I don’t see anywhere to register it. When you create an interface file it is labeled with “unregistered evaluation copy” text (there is also an ini file with a place for a key). Update: You can email them to purchase via Paypal or wire (the cost is EUR 50 + VAT). In any event the utility creates interface(JObjectClass)’s for all class files but will only create interface(JObject)’s for classes in the Android namespace. I’m not sure how useful it is without the JObject interfaces however. There is a post up on DelphiPraxis where the author explains the utility here. On the forum post the example interface is the AlarmManager from Android. I used the utility against the SQLCipher JAR file and this is some of what it created:

There are two other utilities that I know of that will create interface files out of class files for Android. The first one, Android 2 Delphi Import tool, has no free trial and has to be purchased with Bitcoins. The second one, JavaImport For Android, has a free trial but only works on Java class files directly and not on JAR files. I’d like to see JavaImport handle JAR files directly.

Head over and download the Java2pas utility from the Software Union website.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Utility To Generate Java Android Class And JAR File Interfaces For Delphi XE5 Firemonkey by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

17 Responses to Utility To Generate Java Android Class And JAR File Interfaces For Delphi XE5 Firemonkey

  1. Erik Salaj says:

    JavaImport 1.4 supports folders with .class files, so .jar file can be easily converted by renaming to .zip and unzipping to some folder.

    JavaImport trial version is available at http://www.winsoft.sk/jimport.htm

  2. Pingback: Anonymous

  3. Oliver says:

    You can now order the commercial version also via

  4. Does it work for jTDS java library ? (Web site: http://jtds.sourceforge.net/)

    Can you write simple example sql connection with using jTDS library ?

    If work (i’m not sure), I want to buy your library…

    Regards,
    FK

  5. Pingback: Build Apps For The Amazon Fire TV Device Using Delphi XE6 Firemonkey | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

  6. Pingback: Full Android SDK Interface Files In Object Pascal For Firemonkey | Firemonkey X

  7. Pingback: Full Android SDK Interface Files In Object Pascal For Firemonkey | Delphi XE5 XE6 Firemonkey, Delphi Android, Delphi IOS

  8. Pingback: What’s New Roundup For Delphi XE7 Firemonkey On Android, Windows, OSX, And IOS | Delphi XE5 XE6 XE7 Firemonkey, Delphi Android, Delphi IOS

  9. Pingback: Create Android Java JAR Interface Files For Delphi XE7 Firemonkey With Java2OP | Delphi XE5 XE6 XE7 Firemonkey, Delphi Android, Delphi IOS

  10. Joe says:

    is it possible to import third party libraries .JAR files in Delphi like this http://www.b4x.com/android/forum/threads/libgdx.32594/ ?

  11. Pingback: Object Pascal Android Lollipop SDK Interfaces Files For #Delphi XE8 Firemonkey | Delphi XE5 XE6 XE7 XE8 Firemonkey, Delphi Android, Delphi IOS

  12. Pingback: Hacking The Android JNI To Add MultiLine Notifications For Firemonkey In Delphi 10 Seattle | Delphi XE5 XE6 XE7 XE8 10 Seattle Firemonkey, Delphi Android, Delphi IOS

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE5 Firemonkey Barcode Read Write Tutorial
Tutorial To Read And Write Bar Codes And QR Codes With Delphi XE5 Firemonkey On Android

Andrea Magni has a blog post up with a tutorial for reading and writing bar codes and QR codes on...

Close