Jump to content

weabow

Members
  • Content Count

    79
  • Joined

  • Last visited

Posts posted by weabow


  1. Hi,

     

    1) you need to compile teh app (needs mac and an IPad/IPhone connected or simulator maybee) You can use VM for the mac (forbidden), maybee the IPad simulator (I don't know),

    2) you need to deploy the app to the store (use transporter from Apple - runs fine)

    3) in your Apple account, create the app and fill the forms (with all the fine certificates).

    • Like 1

  2. I have my app that's runing fine on a Samsung Tablett 64 bits. It also runs fine on a Motorola Phone in 32 Bits.


    But on "cheap" tablett", Android 9, 64 bits and 32 Bits, it stays on splash screen.


    Debugging, before any Delphi line code, it fires this exception : Android : EGL PBuffer Surface Errcode : 12297

     

    An idea ?

     


  3. Well, its's not difficult for me to give examples...

     

    Pb with timeout on Internet connexions (doesn't run crossplatform),

    Pb with inheritance with styles : need to set style at each level,

    Pb with SQLite drivers : from one version to the next one, no way to have prepared queries ; need to insert values inside SQL, on some platforms only (was running fine in previous version),

    Layouts : from one version to the next one, objects do not appear in same order,

    JSON : from one version to the next one : some responses no longer come back, even if the key exists, due to the insertion of quotes in FMX source code, (no need to speak about memory leaks too...),

    Deployement : from one version to the next one, even if Apple didn't change its strategies (be careful), splash screens change their sizes and positions from one boot to the next one (was running fine), also in Android,

    And so on.

     

    If you want to see some bugs, just go to https://quality.embarcadero.com/

     

    What I want to say here is that Delphi is not better nor worse than others languages. But it would be a lie to say that it's perfect.

     

    With FMX (I developp only one app, that you'll be able to see in a video soon), the art is really difficult for Embarcadero. I can undertsand that, of course. But I can also be worried when, obviously, the code has changed and it has not been tested.

     

    Like I saw some years ago in a post about a developer : solve some bugs and add new ones. I recognize myself in this "joke". But from Embacadero, I'm a little bit worried.


  4. On my opinion, FMX is tricky, and not stable. From one version to another, things change. Right now, my position is that if I can go on deploying crossplatform, I DO NOT UPGRADE Delphi.

     

    It looks like VCL, but it is not. I've bought some help, and I can say now that I wouldn't succeed without it. But my app runs on Windows, Mac, IOS, Android and Linux.


  5. Hi there,

     

    I need to request my server using its IP, not a domain name. The problem is that an IP can't have a SSL certificate.

     

    So I have an error about the need of a certificate with this code :


     

    Quote

     

    procedure TForm1.Button1Click(Sender: TObject);
    var
      serveur: THTTPClient;
      serveur_reponse: IHTTPResponse;
      post_param: TMultiPartFormData;

    begin
      serveur := THTTPClient.Create;
      post_param := TMultiPartFormData.Create;

      serveur_reponse := serveur.post('https://123.123.123.123/index.php', post_param);
     

      if serveur_reponse.StatusCode = 200 then
        showmessage(serveur_reponse.ContentAsString(tencoding.UTF8))
      else
        showmessage(serveur_reponse.StatusCode.ToString);

      freeandnil(post_param);
      freeandnil(serveur);

    end;

     

     

    Tghis code runs fine with a classic URL, but not with the IP.

     

    How can I use THTTPClient and say it not to check certificates ?

     


  6. Up to you.

     

    Because of my ignorance of Pascal, and RadStudio IDE, I saved a lot of time. Of course I prepared the sessions with him.

     

    Also, I gave him some projects or pieces of projects to build, not to waste time with hight level skills needs in Delphi.

     

    And when I wrote some code, at the beginning, we evaluate it both of us to improve my own skills.


  7. I use for Windows, Mac, IOs, Android and Linux TMS FNC UIpack, which contains FNC Core, which contains a pdf lib. Do NOT take FMX UI Pack if interested, as recommanded.

     

    I runs fine, very fast (2 seconds for 58 pages on Windows). You can draw, print texts and pictures, embed fonts.

     

    Very great tool.

     

    It's here...

     

    In attachment, an example with pictures in png, drawings (the targets), and texts.

    tms-fnc-pdf-lib.pdf

    • Like 1
×