Jump to content

Dave Nottage

Members
  • Content Count

    1613
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Dave Nottage


  1. 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


  2. 12 hours ago, Rollo62 said:

    The table should say that normal foreground only operation should be possible

    Is that not what this is saying?
    image.thumb.png.9494637be158dd66267881f0eeb179da.png

     

    12 hours ago, Rollo62 said:

    Now it isn't discovering any longer, I need to have ALLOW_BACKGROUND_LOCATION defined.

    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?


  3. 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>

     

    • Thanks 1

  4. 13 hours ago, Yaron said:

    I don't see the mechanism that would allow me to distinguish between multiple intents.

    You can distinguish between intent filters by the action, e.g:

    if Data.getAction.equals(TJIntent.JavaClass.ACTION_SEND) then

     

    9 hours ago, Yaron said:

    However, only the first entry shows up in YouTube

    Probably because you cannot have 2 filters working with the same action. I suggest reading:

    https://developer.android.com/training/basics/intents/filters


  5. 7 hours ago, Bert-Jan said:

    am I overlooking something?

    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.


  6. 16 hours ago, A.M. Hoornweg said:

    Deleting the xml file makes no difference

    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


  7. 13 hours ago, H4k4nn said:

    You mean all I need to do is

    That should be all you need to do, except use 'opus' instead of 'libopus'.

     

    13 hours ago, H4k4nn said:

    external libname must be opus

    Yes, since that't what is being linked to.


  8. 8 hours ago, H4k4nn said:

    After that I tought that is there any way to include opus.framework to my project I also tried like this way and added -framework opus to LD Linker but this time even there is opus file in my opus.framework folder but compiler says that

    Quote

    [DCC Error] E2597 ld: file not found: opus

    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.


  9. 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.


  10. 1 hour ago, microtronx said:

    i hope we get fixes very soon

    Same here, however...

     

    1 hour ago, microtronx said:

    at the moment 10.4 is not usable

    ..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.


  11. 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)

×