Jump to content

Dave Nottage

Members
  • Content Count

    1609
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Dave Nottage

  1. 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?
  2. Dave Nottage

    Android: One app receiving multiple intents

    Delphi equivalent: if JStringToString(intent.getComponent.getClassName).EndsWith('.Queue') then
  3. 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>
  4. 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
  5. Dave Nottage

    Android: One app receiving multiple intents

    Does calling registerIntentAction with another action not work?
  6. 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.
  7. Dave Nottage

    Cannot run sample programs on Android

    Tools|Options, Deployment > SDK Manager:
  8. Dave Nottage

    Cannot run sample programs on Android

    Sorry, I had it confused with another issue. I just had exactly the same issue as you (on a machine I don't use often), and solved it by changing the SDK settings to use build-tools\29.0.3 (instead of 28.0.3) for ZipAlign.exe and AAPT.exe
  9. Dave Nottage

    missing debug\*.res files

    There's only that file in mine.
  10. Dave Nottage

    Cannot run sample programs on Android

    The problem you're seeing is usually due to an outdated AndroidManifest.template.xml file. Deleting the file (a new one will be recreated) should resolve the issue
  11. Dave Nottage

    IOS - 3rd Party Library

    That should be all you need to do, except use 'opus' instead of 'libopus'. Yes, since that't what is being linked to.
  12. Dave Nottage

    IOS - 3rd Party Library

    You could just add the path to opus.framework in the search path of the Project Options. That's also assuming that you have declarations that bind to the functions in the library.
  13. Dave Nottage

    TeeChart & Delphi 10.4?

    Check the compiler paths in Project Options and possibly also the IDE Options (Language > Delphi > Library)
  14. Dave Nottage

    10.3/10.4 Debug iOS?

    Exactly what was happening to me.
  15. Dave Nottage

    No universal binary for iOS in 10.4

    Why would you need to create a new app id?
  16. Dave Nottage

    TeeChart & Delphi 10.4?

    Tools|Manage Platforms Select Additional Options tab, TeeChart Standard Click Apply
  17. Dave Nottage

    10.3/10.4 Debug iOS?

    I've had this happen to me before (it isn't an issue right now). I created a macOS VM.. I have a Mac, so basically macOS within macOS 🙂, and it worked on there, so I'm assuming something on my Mac is interfering with debugging. I still haven't found what was causing it (and it may do again), however I was nearly at the point of completely reinstalling the OS.
  18. Kind of off-topic, however the PDF being generated is from Delphi code. I have a question on SO about it: https://stackoverflow.com/questions/62443834/fill-and-sign-for-pdf-file-not-working-using-acrobat-reader-dc Any insights into what the problem may be would be appreciated
  19. Dave Nottage

    Fill and sign for PDF file not working using Acrobat Reader DC

    All good, thanks. Someone has answered who spotted a discrepancy that I missed, namely in the font widths array. What's worse: I missed that the "one that works" had altered the font info to correct the problem.
  20. Dave Nottage

    Your RAD Studio 10.4 Sydney issues

    For what it is worth: I understand your pain (having had similar issues in the past), and hope that it will be resolved soon
  21. Dave Nottage

    Your RAD Studio 10.4 Sydney issues

    Same here, however... ..this may be the case for you, however it is extremely usable for me. Making generalisations like this may discourage others from using it where it may well be quite usable for them.
  22. Dave Nottage

    How check VPN Active on Android?

    That code just checks if the network being examined has VPN capability, not if it is actually available, nor if it is connected. Note that a device can have an active VPN connection as well as other active connections. For guidance, you may wish to look at the Java examples here: https://www.codota.com/code/java/methods/android.net.NetworkCapabilities/hasTransport and here: https://www.codota.com/code/java/methods/android.net.NetworkCapabilities/hasTransport (specifically example 19)
  23. Dave Nottage

    ZXing Delphi for 10.4

    They should not be providing entire source files. If they are, they're very likely violating copyright. I'm working on one, which is a total revamp of this project: https://github.com/DelphiWorlds/Camera. If you're interested, please join my Slack team, here: https://slack.delphiworlds.com, and go to the #kastri channel.
  24. Dave Nottage

    Your RAD Studio 10.4 Sydney issues

    Mine doesn't crash, however I find that sometimes it will not go to the declaration, despite the fact that the application compiles OK. Still trying to work out the source of the problem...
×