Jump to content

Dave Nottage

Members
  • Content Count

    1331
  • Joined

  • Last visited

  • Days Won

    29

Posts posted by Dave Nottage


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


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


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


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


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


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


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


  8. 1 hour ago, MikeMon said:

    FMX.Media.Android.pas and FMX.Media.AVFoundation.pas (and maybe the FastUtils.pas) provided by ZXing Delphi 

    They should not be providing entire source files. If they are, they're very likely violating copyright.

    1 hour ago, MikeMon said:

    Any third party camera controls recommended for Firemonkey (Android and iOS) except winsoft?

    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.


  9. 6 minutes ago, microtronx said:

    Mostly if i click to a function or procedures name with pressed CTRL, it should jump to the declaration or to the function but it does not, it crashes .... 

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


  10. 1 hour ago, vfbb said:

    The problem is with the iOS cache, the app don't update new launchscreen / icon, even you uninstall and install your app. The solution is:

    Renaming the app has the same effect. Certainly saves on having to restart the device 🙂

     

    • Like 1

  11. 6 hours ago, lefjucabro said:

    So I tried to build uptodate files regarding to this page but I have errors when compiling files...

    It's because the tools are not as accurate as they could be, and the resulting source files often require adjustment. For iOS/macOS, at least some knowledge of translating Objective-C to Delphi is essential.


  12. 24 minutes ago, Chester Wilson said:

    which version I need so I can continue to service a small number of ancient (like me!) devices

    For what it's worth, I am involved in projects where we're supporting Android 4.4.4 on relatively "ancient" devices. 

     

    I've been given permission to talk about the 10.4 beta (Disclaimer: As always, things may or may not change), so I can tell you that so far everything works on those devices using 10.4. The changes we needed to make were the minSdkVersion (set to 19) and NDK (note: not SDK) settings to target Android-21 (for version 5, but seems to work for 4.4.4).

     

     

×