Jump to content

TTSander

Members
  • Content Count

    10
  • Joined

  • Last visited

Everything posted by TTSander

  1. TTSander

    Custom classes.dex in D12

    I'm trying to generate a custom classes.dex file for our android app because I need to include a specific .jar-file, but I'm having trouble locating all the necessary files. I've done this before following this documentation, but I'm now unable to locate the required android-support-v4.jar. Is this no longer included with Delphi 12?
  2. TTSander

    Custom classes.dex in D12

    Well, I havent made any further attempts to create á custom classes.dex since my original issue (the missing android-support-v4.jar) hasn't been solved. I just attempted to use the XCScanner-libray by including the .jar file in the project. I was afraid the init method might be the issue here, and judging by what you say the solution will not be trivial. Given the fact that this is not a pressing issue right now and the customer will use the hardware buttons on the device to trigger the barcode reader anyway I think I'll park the issue for now. Thanks for your help and insights!
  3. TTSander

    Custom classes.dex in D12

    This is the GitHub-page for the demo-app and documentation. It doesn't include the .aar file, but we received that from our supplier. I'm not sure if I can share that here. The interface generated for the XCBarcodeScanner class looks like this. First I call TJXcBarcodeScanner.JavaClass.init; Although I'm not sure if that's actually necessary. I'm not adding a listener here, since we capture the intents broadcasted by the barcode scanner service. Then when I call TJXcBarcodeScanner.JavaClass.startScan; nothing happens.
  4. TTSander

    Custom classes.dex in D12

    It's an SDK for connecting to the barcode scanner of MovFast-handhelds. I extracted the .jar-file from the supplied .aar file, added it to the project and generated a Delphi interface using Winsoft JavaImport for Android, but this hasn't worked so far. No errors or anything, calling functions from the SDK simply doesn't do anything. I ran into this issue a few years ago, in which case including the .jar-file in classes.dex was the solution. Therefore, I wanted to try and see if this would also work for this library.
  5. TTSander

    How convert an android app into an i-phone app?

    I would suggest a Mac Mini with an M1 or M2 CPU. It can be used to run the PAServer required to build iOS-apps and it can also run the ARM64 iOS Simulator to test and debug your apps. The iOS simulator is also a great tool to gather all screenshots required for the App Store. It is of course nice to have a recent model iPhone or maybe iPad as well, but it's not strictly neceassary.
  6. TTSander

    Enable immersive mode on Android 11

    I'm trying to run an application in immersive mode, but I'm unsure how to implement this. The use case is an application running on a Raspberry Pi-based scan device. Our previous models, which used an RPi3B, ran on an Android 7-based version of Emteria OS. Android 7 allowed a system wide setting of the immersive mode, but we lost this option now we run an Android 11-based version of Emteria on the RPi4. I found that immersive mode now has to be configured at the application level (https://developer.android.com/develop/ui/views/layout/immersive), but I'm struggling to implement this in Delphi. I searched ..\Studio\21.0\source, but I can't find any mention of a JWindowInsetsControllerCompat. I should mention we're still on Delphi 10.4.2. Is this issue resolved by upgrading to 11.2, or is there another way to implement the solution provided at the link above?
  7. TTSander

    Enable immersive mode on Android 11

    Thanks for the quick reply! I'll see if I can find the time to upgrade our development environment then. I'm familiar with Winsoft JavaImport, so I'm confident I'll be able to import the necessary classes.
  8. TTSander

    XCode 12 compile error

    Or use GetIt. RAD Studio will link you to the patch on the launch page. I can confirm this solves the linkers errors when using TClientDataSets with SDK 14.2. I'll try 14.3 next, fingers crossed.
  9. TTSander

    XCode 12 compile error

    Thanks for reporting! Guess I'll revert to XCode 11 for the time being.
  10. TTSander

    XCode 12 compile error

    I have an issue with midaslib giving me linker errors since the iOS patch: [DCC Error] E2597 Undefined symbols for architecture arm64: Error: "__ZdlPv", referenced from: _DllGetClassObject in alchemy.o); __ZN14DSBASE_Factory14CreateInstanceEP8IUnknownRK4GUIDPPv in alchemy.o); __ZN16DSCursor_Factory14CreateInstanceEP8IUnknownRK4GUIDPPv in alchemy.o); __ZN22DATAPACKETREAD_Factory14CreateInstanceEP8IUnknownRK4GUIDPPv in alchemy.o); __ZN23DATAPACKETWRITE_Factory14CreateInstanceEP8IUnknownRK4GUIDPPv in alchemy.o); __Z9GetFldObjjiP7DSXML_WPP7FLDConv in dspickle.o); __ZN12DSDATAPACKETD2Ev in dspickle.o); ... Error: "__ZdaPv", referenced from: __Z15MakeAdtFldDescsjP20DSDATAPACKETFLDDescXPjPP16DSPROVADTFLDDesc in dspickle.o); __ZN12DSDATAPACKET12DelRecStatesEv in dspickle.o); __ZN9DSEXTRACT12DelRecStatesEv in dspickle.o); __Z12MakeFldDescsjP9DSFLDDescPjPS0_S1_ in ds.o); __ZN6DSBASE8ResetAllEv in ds.o); __ZN6DSBASE8AddFieldEP9DSFLDDesc in ds.o); __ZN10LTABLEListD2Ev in ds.o); ... ld: symbol(s) not found for architecture arm64 I'm using the iOS14.2-SDK and XCode 12.2 running on Big Sur. This errors occurs for any application where ClientDataSets are used.
×