Jump to content

Dave Nottage

Members
  • Content Count

    1296
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by Dave Nottage

  1. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    Yes, in both cases, and thanks! I need to write more carefully 😉 Thanks for your input. I hope to have an answer in the next couple of days or so.
  2. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    The picture does not show the folder that I am asking about. Please read my answers carefully.
  3. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    Are you saying that the /usr/lib/system folder exists in your iOS 13.6 SDK? i.e. the full path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneIS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/system No, I did a normal upgrade. Why would I need to completely uninstall?
  4. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    My Xcode was updated to 11.6 via the App Store app on my Mac. It includes the iOS 13.6 SDK. fastlane verified Xcode as OK. Not as yet
  5. Dave Nottage

    I am getting TPushServiceConection undeclared

    In the IDE menu: Project|Deployment
  6. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    As per the article: "The /usr/lib/system folder underneath simply does not exist"
  7. Have you opened the Devices and Simulators window in Xcode, and selected the device?
  8. Dave Nottage

    I am getting TPushServiceConection undeclared

    This is a regular method. OnChange is an object method, so needs to be assigned to a method that is part of an object
  9. Dave Nottage

    I am getting TPushServiceConection undeclared

    Is your code really missing one "n"?
  10. Dave Nottage

    Loading shared objects on Android

    You could use that one, however if you have versions for both 32-bit and 64-bit (or just one of either) you might want to deploy to: library\lib\armeabi-v7a library\lib\arm64-v8a For 32-bit and 64 bit respectively, and use: LoadLibrary(TPath.Combine(TPath.GetLibraryPath, 'test.so'))
  11. Dave Nottage

    Record and process audio

    My steps: In the script: Modify SDKVERSION to "13.6" (which is what I have), and MINIOSVERSION to "11.0" (Delphi 10.4 supports only 11.0 or higher) Modify ARCHS to "x86_64 arm64" (32-bit does not apply to 10.0 or higher) Run the script (build-libopus.sh) Run the command: file dependencies/lib/libopus.a Output: dependencies/lib/libopus.a: Mach-O universal binary with 2 architectures: [x86_64:current ar archive random library] [arm64] dependencies/lib/libopus.a (for architecture x86_64): current ar archive random library dependencies/lib/libopus.a (for architecture arm64): current ar archive random library
  12. Dave Nottage

    Delphi Sydney iOS Bug

    Ensure that this line is in the info.plist.TemplateiOS.xml file: <%StoryboardInfoPListKey%>
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. Dave Nottage

    Delphi 10.3 - install older SDK

  19. 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
  20. Dave Nottage

    FMX.Android Intents Sample missing procedure

    No idea at this point, sorry. As I say, it's on my list.
  21. 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
  22. 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.
  23. Apparently Arbejdsglæde will 🙂
  24. Dave Nottage

    Making apps for Samsung Galaxy Watch

    Via a phone device, apparently? https://developer.samsung.com/galaxy-watch-design/studio/tutorial/connect.html
  25. 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.
×