Jump to content

Felix.

Members
  • Content Count

    43
  • Joined

  • Last visited

Posts posted by Felix.


  1. Greetings,

    Could you check if it's possible?

     

    I am building a bundle with "Generate Android App Bundle file (arm + arm64)" option enabled.

    In Android-32, I include a 32-bit third-party library in the library\lib\armeabi-v7a folder (11 MB in size),

    in Android-64 I include a 64-bit third-party lib in the library\lib\arm64-v8a folder (12 MB).

    Then I make an aab file and look at its contents: there is a third-party lib (12 MB) in the base\lib\arm64-v8a folder, but there's no third-party lib in the base\lib\armeabi-v7a folder!

    Why is it happening? Who else faced it? Maybe this is due to the fact that the third-party lib has the same name for both 32 and 64 versions?


  2. 20 minutes ago, Dave Nottage said:

    I don't know of any option for df that means it needs to wait for input

    Anyway I need only stockfish to run. But it waits for input and locks the app. And I don't know how to pass the input data.

    I tried stockfish < [file], where [file] is a file with uci commands, but stockfish doesn't accept it (though this method works under Windows)


  3. On 12/7/2021 at 10:29 AM, Dave Nottage said:

    There's now an example of how to run a process on Android, here:

     

    https://github.com/DelphiWorlds/HowTo/tree/main/Demos/AndroidRunProcess

     

    Sadly, I have been unable to make it work with the Stockfish application that is available for download here:

     

    https://stockfishchess.org/download/

     

    The process seems to start, however it also seems to lock up my application. There does not seem to be any clues in the device logcat messages as to what the problem is. The demo still includes the files, and the code that attempts to run it, however the code has been commented out in favour of some more basic executables that are known to work. 

     

    I have put my efforts on hold (though I may use the run process code myself for something else), and have thrown it open to anyone else who might be able to make it work.

    Dave, in your project there is a comment "// Use this method only when you are certain the process being run is waiting for input"

     

    how can we determine using your units if the process is running or it was closed?

×