Developer 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.
FMXExpress.com has over 700 tips and tricks for building cross platform apps on Android, IOS, OSX, Windows, and Linux with a single codebase and single UI using the FireMonkey framework found in Delphi and C++Builder.
FMXExpress covers top cross platform secrets for FireMonkey in C++Builder and Delphi XE5, XE6, XE7, XE8, Seattle, Berlin, Tokyo, Rio, and Sydney.