Jump to content

Dave Nottage

Members
  • Content Count

    1490
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Dave Nottage

  1. Dave Nottage

    iOS application build in Delphi 11.2

    As long as the PAServer is exposed to the "outside world" (perhaps by port forwarding), yes.. that is possible. Bear in mind however that if you're deploying to a device, the machine that has PAServer on it needs to be able to access the device, either by being connected directly to that machine, or possibly using something like this: https://www.net-usb.com/
  2. Dave Nottage

    problem on update sdk ndk in delphi 11

    I doubt that error message (platform architecture issue) is related to the API level issue. It's possible that you're compiling for 64-bit and the installed OS is 32-bit. Be aware that some devices have a 64-bit CPU, but have a 32-bit Android OS installed.
  3. It may help to delete everything in the output folder(s) in question - by default they're Android/Debug (or Release) and Android64/Debug (or Release), then rebuild
  4. The error message: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" Usually means that the jar that contains the class androidx.core.content.FileProvider was not included in your app. This class is in core-1.5.0-rc02.dex.jar, and should appear in the Libraries node, as per the instructions in my earlier reply. This is an example of what it should look like: i.e. the package in question does not have a red "x" in the icon
  5. It's odd that you would receive that error on one device and not another. Regardless, please see this: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLibraries
  6. Dave Nottage

    problem on update sdk ndk in delphi 11

    The targetSdkVersion value is whichever target API level Delphi currently supports, i.e. it is not determined by which API level you have selected. It should allow you to set this (see https://quality.embarcadero.com/browse/RSP-38976), however if you want it to be something different you'll need to change it in the AndroidManifest.template.xml file.
  7. Dave Nottage

    Create multiple instances of tApplication with multiple MainThreads?

    What is it that you think this will achieve?
  8. Dave Nottage

    iOS application build in Delphi 11.2

    I suggest start reading, here: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/IOS_Mobile_Application_Development
  9. Which parts are incomplete? The version number in the about box changes only when there's a new major version or update (i.e. not a patch)
  10. Dave Nottage

    TRichEdit equivalent in FMX?

    No, it doesn't. I wish it did 🙂
  11. Dave Nottage

    TRichEdit equivalent in FMX?

    Yes. I wrote it, so I would know. Also see line 58 of the code
  12. Dave Nottage

    TRichEdit equivalent in FMX?

    Can you describe why it needs to be rich edit?
  13. Dave Nottage

    TRichEdit equivalent in FMX?

    That's for Windows only.
  14. Dave Nottage

    ShowModal do not work under IOS 16.1.1

    It may be related to the model and iOS version. Please see: https://quality.embarcadero.com/browse/RSP-36095
  15. Dave Nottage

    C to Delphi pascal

    Posting the Delphi code that you are using might be helpful
  16. Dave Nottage

    Stacking FMX components over native elements

    Actually, it probably will. I already overlay things like TMapView and TWebBrowser, using the "native" controls in the Kastri repo: https://github.com/DelphiWorlds/Kastri/blob/master/Controls/NativeControls.md. The part that's missing is macOS support.
  17. Dave Nottage

    Stacking FMX components over native elements

    It looks like you're taking a fairly different approach, however you may be interested in voting for this issue: https://quality.embarcadero.com/browse/RSP-38988. (which would be one way of solving your problem)
  18. Dave Nottage

    iOS File Share With Other Apps

    You mean like this sample?
  19. Dave Nottage

    RequestPermissions - Trying to understand threading (better)

    It makes more sense to request the permissions within the UI thread, because if they're not granted, there's no point in even starting a new thread to perform the task, because it's not going to be able to do anything anyway.
  20. Dave Nottage

    RequestPermissions - Trying to understand threading (better)

    Yes. This link may have some useful information regarding this. Do not request permissions outside of the main thread. I'm not sure why you think you need to.
  21. Dave Nottage

    RequestPermissions - Trying to understand threading (better)

    Incorrect - the permissions handler runs in the main thread. You can easily test this with: if TThread.CurrentThread.ThreadID = MainThreadID then // Is in the main thread Not sure what is causing your debugger issues.
  22. The example link you gave describes a problem, but does not have enough detail to determine exactly what their issue was. It may be the issue I referred to in my comment, however that also applies to Android 10. If it also crashes on Android 10 and Android 12 (or later), then it may be the issue referred to (above). Without further detail, particularly whether the problem happens in a blank app, it's very difficult to determine what it is.
  23. Can you provide specific links? Does this happen with a blank app?
  24. Dave Nottage

    How can i add a custom font to a windows fmx application

    I asked because of an issue that was fixed in 11.2, but there's a patch for 10.4: https://quality.embarcadero.com/browse/RSP-17030 I'm working on some code that should make it convenient to load fonts at runtime (on Windows), but for Delphi 10.4, that patch will be required.
  25. Dave Nottage

    How can i add a custom font to a windows fmx application

    You mean without having to install the font? Which version of Delphi are you using?
×