Jump to content

Dave Nottage

Members
  • Content Count

    1651
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Dave Nottage

  1. Dave Nottage

    Kastri and Camera Erro Demo Project

    Are you using the demo (the BarcodeReaderD11 project should work in Delphi 12) or your own project? If it's your own project, have you followed the instructions as per: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/BarcodeReader#vision-libraries
  2. TOpenDialog is the class. Vcl.Dialogs.pas is the file containing that class
  3. Dave Nottage

    Delphi 10.4 on Xcode 15 and iOS 17 - Crash on start

    This is a separate, and known issue - currently no debugging from Delphi for iOS 17 devices. Any reason why you're not using Delphi 12? Are you planning to deploy the app to the App Store? You can ensure you receive a proper SDK import (usually) by following these steps: On the Mac, under the ~/PAServer/scratch-dir folder, remove any folders starting with cache-dir- On the Windows machine, delete the SDK folder from C:\Users\(username)\Documents\Embarcadero\Studio\SDKs where (username) is the logged in username In the Delphi SDK Manager, delete the SDK, then re-add it. I added "usually" because that might not be the case for Delphi 10.4 and current iOS SDKs. If you're targeting mobile, you really should stay current.
  4. Dave Nottage

    Delphi 10.4 on Xcode 15 and iOS 17 - Crash on start

    This might be a better description:
  5. Dave Nottage

    Delphi 12 - TEdit: Android App Strange Behavior

    See this report: https://quality.embarcadero.com/browse/RSP-43383
  6. Dave Nottage

    Delphi 12 IDE: unchecking a component is NOT SAVED

    Even when no project is loaded? Then that is a bug.
  7. Dave Nottage

    Delphi 12 IDE: unchecking a component is NOT SAVED

    It's a case of poor or missing documentation. If you have a project open and uncheck a package, the package will not be loaded again for that project. If you uncheck a package with no project open then you should see the package unchecked if you reload the IDE.
  8. Cloud logging, or local? If local, see this, which includes a mention of Device Lens. See this discussion: As @Rollo62 mentioned, Grijjy Cloud Logger has not had an update in a few years, however I suspect it's still viable as a cloud logging solution.
  9. Dave Nottage

    Custom TrueType font in FMX Android app?

    For Delphi 12, starting from line 98 in the source: FontFile := TPath.Combine(TPath.GetDocumentsPath, CurrentSettings.Family); if not CurrentSettings.Style.Weight.IsRegular and TFile.Exists(FontFile + '-Bold.ttf') then FontFile := FontFile + '-Bold.ttf' else if CurrentSettings.Style.Weight.IsRegular and TFile.Exists(FontFile + '-Regular.ttf') then FontFile := FontFile + '-Regular.ttf' else FontFile := FontFile + '.ttf'; i.e. the changed parts start from the line starting with: if not CurrentSettings.Style.Weight.IsRegular
  10. In terms of Delphi, the best way forward to put apps on Google Play Store is to use Delphi 12, since you need to target API level 33. You might be able to use Delphi 11.3 CE, however you'd need to consider any functionality used that might not work in Android 13 or higher, particularly taking/selecting photos.
  11. Dave Nottage

    detecting app clone on android

    I have a repo containing some ChatGPT "conversations" which might be of interest, and have just added this one: https://github.com/DelphiWorlds/HowTo/blob/main/ChatGPTConversations/DetectClonedApp.md The Delphi code is my conversion of the Java code. As per the warning here, always verify anything coming from ChatGPT, or me, for that matter 🙂
  12. Dave Nottage

    iphone 17.2.1 an xcode 15.2 issue

    Debugging is currently not working from Delphi for iOS 17 devices. There is yet to be an ETA for a fix.
  13. Dave Nottage

    Is there any edit/memo which allows multiselect?

    Then I stand corrected 🙂 Not sure if there's anything for Delphi. Someone else might be able to chime in
  14. Dave Nottage

    Can not debug on iOS

    No idea in that case, sorry.
  15. Dave Nottage

    Can not debug on iOS

    If your device has iOS 17, debugging with Delphi is currently not working. There's yet to be an ETA on a fix for it
  16. Dave Nottage

    Is there any edit/memo which allows multiselect?

    Where the user can select multiple parts of text I suspect is wishful thinking. There's bound to be edits/memos where text can appear to be selected in multiple locations, i.e. searched text is highlighted.
  17. Does Woll2Woll have their own edit in their grid? As I say, the standard TEdit in FMX works here.
  18. Are you using a standard TEdit from FMX? Using NumberPad works here. (Delphi 12, Pixel 6 Pro, Android 14)
  19. Dave Nottage

    TestInsight for Delphi 12

    It's been available for Delphi 12 for some time. The "latest" is always located here.
  20. Dave Nottage

    Is there a Metadata reader/writer/editor unit for FMX/Android?

    You could use the code from here.
  21. Dave Nottage

    detecting app clone on android

    If there's a way to do it in Java or Kotlin, there's usually a way to do it in Delphi. Do you have any links discussing why this is a problem, and potential solutions?
  22. It should be helpful if you have an older Mac and are unable to update macOS/Xcode. The link I posted is for the exact moment that @Ian Barker discusses how to solve the macOS/Xcode upgrade issue.
  23. You might need to provide more information, then - perhaps a test project that reproduces the error?
  24. I have just noticed you have a version of Xcode that may not even have the Swift support mentioned earlier. Delphi 12 is able to use Xcode 15.1, so I suggest updating. If your Mac is too old to update macOS/Xcode, I suggest watching this part of this video.
  25. There's some instructions for adding Swift support, here. You will also need to ensure you have the Linker Options configured correctly in Project Options as per these instructions.
×