Jump to content

Dave Nottage

Members
  • Content Count

    1626
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Dave Nottage

  1. 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
  2. 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.
  3. Apparently Arbejdsglæde will 🙂
  4. Dave Nottage

    Making apps for Samsung Galaxy Watch

    Via a phone device, apparently? https://developer.samsung.com/galaxy-watch-design/studio/tutorial/connect.html
  5. 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.
  6. @Rollo62Did you manage to come up with a solution for this? I'm looking for one, and it is proving to be elusive 🙂
  7. 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.
  8. Dave Nottage

    Is quality.embarcadero.com down?

    Still "down" here down under
  9. 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:
  10. Dave Nottage

    Patch 2 for RAD Studio 10.4 now available

    Primoz is psychic 😉
  11. 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
  12. 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.
  13. 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?
  14. 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
  15. 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
  16. 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
  17. I meant the final info.plist that ends up being deployed with your app, i.e. not the info.plist.TemplateiOS.xml. This is in case it is different somehow.
  18. Is that not what this is saying? If it doesn't discover when the app is in the foreground, it sounds like a bug; either in the system or documentation. You don't happen to have a basic test project, do you?
  19. Dave Nottage

    Android: One app receiving multiple intents

    Delphi equivalent: if JStringToString(intent.getComponent.getClassName).EndsWith('.Queue') then
  20. Dave Nottage

    Content not filling screen on iPhone 6

    Delete the info.plist.TemplateiOS.xml file and rebuild. Alternatively, make it look like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <%VersionInfoPListKeys%> <%ExtraInfoPListKeys%> <%StoryboardInfoPListKey%> </dict> </plist>
  21. Dave Nottage

    Android: One app receiving multiple intents

    You can distinguish between intent filters by the action, e.g: if Data.getAction.equals(TJIntent.JavaClass.ACTION_SEND) then Probably because you cannot have 2 filters working with the same action. I suggest reading: https://developer.android.com/training/basics/intents/filters
  22. Dave Nottage

    Android: One app receiving multiple intents

    Does calling registerIntentAction with another action not work?
  23. Dave Nottage

    RAD 10.4 Android KeyboardType NumbersAndPunctuation not working

    The FMX Java code has: NUMBER_AND_PUNCTUATION(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL), NUMBER_DECIMAL(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED); So they are the same (just or'd in a different order). I doubt whether there's an exact equivalent to iOS, on Android.
  24. Dave Nottage

    Cannot run sample programs on Android

    Tools|Options, Deployment > SDK Manager:
×