Jump to content

Dave Nottage

Members
  • Content Count

    1587
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Dave Nottage

  1. Dave Nottage

    iOS problem since switching from Delphi 12.1 to 12.2

    I suspect you mean "14 or higher", because I can build using a: Minimum iOS version supported value of 13.0
  2. Dave Nottage

    HTTP error 12007

    It's because at the time, they had no connection to the internet. I've seen this myself where wifi is not exactly reliable.
  3. Dave Nottage

    PDF Drawing Component for Delphi FMX

    Why does the "payment" page (or the rest of the site) not use https?
  4. In which case it seems the import has not completed. You may need to follow these steps: Delete the folder: C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk Delete the SDK from the SDK Manager in Delphi On the Mac, in the ~\PAServer\scratch-dir folder, remove any folders starting with cache-dir In Delphi, re-add the SDK
  5. That's a warning - you can ignore it. That seems to be more like what the real problem is. Perhaps the SDK that was imported has been removed? You should check whether this folder exists: C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk
  6. If you just have one VM (presumably Windows, with Delphi) running at any one time, and don't run a bunch of memory hogging apps (e.g. VS Code, most of the popular browsers etc), you can get by with 16GB. I did for years, but when I started often having more than one VM running at a time (as well as VS Code etc), I shifted to a 32GB machine.
  7. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    In the IDE options - ensure these are checked, and click Save I don't know, sorry.
  8. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    What happens if you create a completely new app, saved to a different path, and compile it?
  9. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    Which is vastly different to the original error. It apparently has some issues with the characters in the path. Try loading a project from a path that has just plain ascii characters in it.
  10. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    Same error? Make sure you changed the Java settings for both Android 32-bit and 64-bit SDKs
  11. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    Your Java settings are incorrect. See my earlier reply.
  12. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    From the IDE menu, use Tools | Options (not Project Options), Deployment > SDK Manager
  13. Dave Nottage

    Why i haven't Android SDK after intall RAD Studio 12?

    It appears the settings for the Java tab in the Android SDK settings are incorrect. Use Tools | Manage Features in the Delphi menu to ensure that the Eclipse Temurin OpenJDK 17 (it appears on the right of the Manage Features window, towards the bottom) is installed, and the Java settings look like this:
  14. Dave Nottage

    How to send and intercept USSD result

    From the readme: "NOTE This code is dependent on code from the Kastri repo."
  15. Dave Nottage

    How to send and intercept USSD result

    This is not the same approach as what Ranja was trying, however it might be what you are looking for: https://github.com/DelphiWorlds/Playground/tree/main/Demos/UssdRequester
  16. Dave Nottage

    D12, Android 14, how to locate "assets\internal" at runtime

    Should be: TPath.GetDocumentsPath
  17. Dave Nottage

    How do I create an Android simulator under Delphi 11.3 ?

    It does not enter debug mode at all, or it does not stop at breakpoints? Does the app crash perhaps, before the debugger has a chance to attach to the process? How does the bug manifest itself? i.e. are there any error messages? Does the app start?
  18. Dave Nottage

    How do I create an Android simulator under Delphi 11.3 ?

    If the emulator is running on the same machine as Delphi, it should appear in the list under the Target node, which is under the Android platform nodes in Project Manager in Delphi. What is the actual issue you are having?
  19. Dave Nottage

    Running Rad Studio 12 on Mac book M4 CPU

    I use Parallels on a Mac M1 to run a Windows ARM VM, and Delphi works very well on it. I expect an M4 would be even better.
  20. Dave Nottage

    Alignment of group of controls

    For FMX controls, it's the Y value of the Position property
  21. No such element as "date" here - it should be: data. Is this a typo or what you actually have in your manifest? Are both of these your apps, or is application B a third-party app? I'm assuming the latter, since you do not appear to have included any code for it, and your example still is not complete enough to determine what the problem is. Regardless, I suggest you use a logcat viewer to determine exactly why app A is "restarting"
  22. Dave Nottage

    D12.3 Error when closing

    Could be a 3rd party component package or expert. Start by disabling/removing the latest ones you've installed.
  23. You appear to be trying to do something different from the OP. Save what? Yes: please describe what it is you are actually trying to achieve, preferably with a more complete example.
  24. Dave Nottage

    iOS Selectors in Delphi

    OK, so after a bit of wailing and gnashing of teeth, I've come up with something more simplified - hopefully as much as possible. The attached code is just for iOS, however hopefully it meets these basic requirements: Requests permissions that allow creation of an album that can be accessed by the app If permissions are too limited, or denied, prompts the user to change the app settings, which is the only way to make subsequent changes if the permissions are not granted. If the prompt is declined, a value is set in the user defaults, so that the user is not prompted again. If they wanted to grant access again later, either this would need to be coded in the app, or they would need to do a manual change Once permissions are granted, the Create/Find Album button becomes enabled, and clicking that either locates the existing album, or fires off a change request to add the album Once the album has been created or found, the Save Image button becomes enabled. Tapping it fires off a request to save the image in the TImage component to the album Notes: The attached demo does not have any dependencies other than what comes with Delphi, and the units provided with it. It contains a "re-import" of the Photos framework with the newer classes, methods etc. It assumes that the device has iOS 14+, so the code would need to be modified to support older versions Feel free to ask about whatever I may have missed 🙂 The plan is to eventually update Kastri with the new import, and include some of the code in the demo as well. SaveImageDemo.zip
  25. Dave Nottage

    iOS Selectors in Delphi

    Thanks for the heads up. As you might gather, that import has not been updated to include newer APIs in a while. I'm planning on updating it, as well as look at those methods you mentioned.
×