Jump to content

Dave Nottage

Members
  • Content Count

    1560
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Dave Nottage

  1. Dave Nottage

    Delphi Sydney iOS Bug

    Ensure that this line is in the info.plist.TemplateiOS.xml file: <%StoryboardInfoPListKey%>
  2. Dave Nottage

    Is interposer class really best to customize TPanel.Paint?

    The property applies to all of them, yes.. but you set it to True only for the ones you want the specialised behaviour on.
  3. Dave Nottage

    Is interposer class really best to customize TPanel.Paint?

    For your case: TPanel = class(Vcl.ExtCtrls.TPanel) private FSpecialised: Boolean; protected procedure Paint; override; property Specialised: Boolean read FSpecialised write FSpecialised; end; When the form is created, set the Specialised property to True for the TPanels where they need the special treatment. In the Paint method, check the FSpecialised flag.
  4. Dave Nottage

    Is interposer class really best to customize TPanel.Paint?

    I usually add a Boolean value to the interposer and set it to True when the form is created, only for those components with the specialised behaviour.
  5. The extension (a Notification extension) I did (which I don't have working yet) does not need to communicate to the Delphi app, however the Grijjy article covers communicating between the extension in the section titled "Exchanging data with your App Extension", i.e. you need to set up an Application Group, and you need to use the NSUserDefaults class to share information between the extension and your app.
  6. Dave Nottage

    Bulding an app to test puish alerts

    If you have 10.3.2 or 10.3.3, the changes to include Firebase support are already included.
  7. Dave Nottage

    Delphi 10.3 - install older SDK

  8. Dave Nottage

    Delphi 10.3 - install older SDK

    You don't need to install an older SDK. You do however need to ensure that: The minSdkVersion value in AndroidManifest.template.xml is 19 (replacing %minSdkVersion%) In the NDK settings in SDK Manager, ensure that the NDK API Location value ends with android-19, and the path in the Delphi NDK Library path value that has "platforms" in the value also has android-19 in the path
  9. Dave Nottage

    FMX.Android Intents Sample missing procedure

    No idea at this point, sorry. As I say, it's on my list.
  10. Dave Nottage

    Precisely timed display output on Android

    There's a Delphi implementation of Choreographer in Alcinoe: https://github.com/Zeus64/alcinoe/blob/master/source/ALFmxAni.pas If I were doing development where timing of display output is crucial (such as a game), I'd do something similar
  11. Dave Nottage

    FMX.Android Intents Sample missing procedure

    Not sure that there's anything in it to solve his issue, but thanks for the plug 🙂 I have a feeling it's a simple entry in the manifest. Added to my already huge to-do list.
  12. Apparently Arbejdsglæde will 🙂
  13. Dave Nottage

    Making apps for Samsung Galaxy Watch

    Via a phone device, apparently? https://developer.samsung.com/galaxy-watch-design/studio/tutorial/connect.html
  14. In my case, it's not about advising the user how to set up anything: Application.FormFactor.Orientations takes care of which orientations the app will support. The issue is with re-orienting the app once Application.FormFactor.Orientations has been changed at runtime. Currently, the user has to rotate the device themselves.
  15. @Rollo62Did you manage to come up with a solution for this? I'm looking for one, and it is proving to be elusive 🙂
  16. Dave Nottage

    Audio recording rises access violation on IOS 13.5.1

    Is there a value for NSMicrophoneUsageDescription in the Project Options, like this? If not, you'll need to add it, by right-clicking on the grid, click Add Key, enter NSMicrophoneUsageDescription as the name, click OK, then provide a value for it.
  17. Dave Nottage

    Is quality.embarcadero.com down?

    Still "down" here down under
  18. Your extension was not compiled for iOS (arm64), it was compiled for macOS (x86_64). To determine this, I ran this command on the Mac: file yashare For which the result was: yashare: Mach-O 64-bit executable x86_64 When you created the extension, were you adding a Target from an iOS project? It should have looked like this: The target properties would then look like this:
  19. Dave Nottage

    Patch 2 for RAD Studio 10.4 now available

    Primoz is psychic 😉
  20. Can you show what the remote paths are? Just a guess, but perhaps make sure you haven't enabled the Generate iOS universal binary file (armv7 + arm64) option in the compiler options. Otherwise I'd need to see an example project
  21. Dave Nottage

    Help, I'm trying to move an application to Rio.

    Does "other question" refer to your first post in this thread, or something else? If it's "something else", you don't appear to have provided any details as to what the errors are.
  22. It's not my article; it's Grijjy's. Allen Drennan visits here some times, and he is part of their group. Might be an issue with the provisioning profile. Are you building for Ad-Hoc or App Store?
  23. I'm assuming that was meant to say: "under Rx10.3.3: works fine, under Rx10.4 has above issues"? If you haven't resolved it before the weekend, I'll take a look
  24. Dave Nottage

    How to get GPS coords in android - Delphi Sydney

    https://delphiworlds.com/2020/01/cross-platform-location-monitoring/ If you're just doing Android, disregard the parts about iOS
  25. It appears you need to create a share extension: https://stackoverflow.com/a/38037060/3164070 This needs to be done in Xcode, although according to this article: https://blog.grijjy.com/2018/11/15/ios-and-macos-app-extensions-with-delphi/ You can exchange data between a Delphi app and the extension. Incidentally, I believe the schemes in your info.plist should not include the :// part, and apparently you cannot use http and https anyway: https://stackoverflow.com/a/37401487/3164070
×