Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodDelphiFiremonkeyUtility

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.

Related posts
AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

Sign up for our Newsletter and
stay informed

18 Comments

Leave a Reply