Jump to content

Felix.

Members
  • Content Count

    43
  • Joined

  • Last visited

Everything posted by Felix.

  1. Is Delphi 10.4.1 still good to create Android applications? I don't plan to buy Alexandria.
  2. Dave, should your RunProcess application (built with Delphi 10.4.1) work under Android 11? I created an APK file, installed it, but after I run the application, it immediately closes.
  3. Is Delphi good for machine/deep learning? I would like to load bunch of grandmasters' games, process it and then predict good moves in certain positions.
  4. Dave, I noticed that in that demo you don't use your unit DW.Androidapi.JNI.Lang.pas
  5. Thank you, a very useful demo. Maybe we need to apply chmod to stockfish file. I'll try it today.
  6. I need to run stockfish engine, send uci commands to it and get the result. There are no examples for Delphi Firemonkey. It's not hard to make it work under Windows, but under Android...
  7. Yes, you're correct, but the demo would be perfect. Even Delphi comes with a huge number of demos,examples and snippets
  8. Thank you Dave, is there an example of how to use DW.Androidapi.JNI.Lang.pas ?
  9. I use this code (Delphi 10.4, Firemonkey, Android): procedure TForm1.MoveButtonClick(Sender: TObject); begin var Time := 1.0; var P := Image1.Position.Point + TPointF.Create(200, 100); TAnimator.AnimateFloat(Image1, 'Position.X', P.X, Time); TAnimator.AnimateFloat(Image1, 'Position.Y', P.Y, Time); end; The question is how can I change Position.X and Position.Y simultaneously, so I can use it with AnimateFloatWait? There's an important procedure after animation that executes immediately (i.e. doesn't wait for the end of animation). I tried to use in thread, but also with success.
  10. Which component do you use to create a toolbar with buttons (TToolbar, TRectangle, TPanel?) in your Firemonkey projects and why? Thanks!
  11. Felix.

    [Android] Which component for toolbar

    Can you show the screenshot of what you achieve? Just as an example. Thank you
  12. Felix.

    Component for GIF animation

    Please recommend me a Firemonkey component (Windows, Android) to display GIF animations.
  13. Thank you Diego! I think the main problem is backend. Can it be implemented with Delphi? Or do I need to learn Php/Node.Js/etc. ? What do you think about ESEGECE Websockets? I've heard they are best for mobile clients.
  14. Felix.

    Delphi and stockfish

    Greetings to all, I'm trying to create a simple Android app (using Delphi 10.4, Firemonkey) that will use stockfish engine (evaluate positions and suggest a best move). I downloaded stockfish .so files (ELF) for Android 32/64bit, included them in my app. In my program I use LoadLibrary, it returns success (Result <> 0). I read a lot about uci protocol (isready, ucinewgame, etc.), but now how will I call stockfish engine and pass a FEN to it? Should I use GetProcAddress? (if yes, then with which parameters?) Has anyone a successful experience? Thank you in advance.
  15. Felix.

    Component for GIF animation

    Thank you, I'll try it
  16. Felix.

    Chess board

    I'm trying to create an Android app for chess players. I already wrote a code to parse PGN files, now my task is to display a chess board with pieces and allow the user to move pieces from one square to another. Please give me hints/tips/suggestions how to achieve it? Thanks in advance!
  17. Felix.

    Chess board

    Thank you! Do you mean eschecs ?
×