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

AndroidAppmethodCode SnippetDelphiDemoFiremonkey

Access The StarIO SDK In This Demo With Java2OP In Delphi XE7 Firemonkey On Android

Delphi XE7 Firemonkey StarIO SDK Android JAR Interface JNIDeveloper Borja Serrano has created a demo for accessing the StarIO SDK on Android with Delphi XE7 Firemonkey. The StarIO SDK is based on the Android SDK and sits between your application and a Star POS printer from Star Micronics Co. Ltd. (a large creator of POS printers). It’s StarIO SDK for Android is a JAR file and Borja used the Java2OP tool from Embarcadero to create an interface file for the SDK. Once you have the generated interface file (which is included in the demo) you simply add it to the uses section of your form and then include the JAR file in the Library section of your project. Apparently JDK 1.7 and not JDK 1.8 needs to be used with the Java2OP tool to generate valid interface files. The command line used with Java2OP to generate the interface file was “java2op -jar StarIOPort.jar -unit Androidapi.JNI.Startioport”. This demo should also work with Appmethod.

Check out the full forum thread from Borja and then download the Delphi XE7 Firemonkey demo with StarIO interface file.

Or download the StarIO SDK demo app for Delphi XE7 Firemonkey directly.


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

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


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

Sign up for our Newsletter and
stay informed

Leave a Reply