Jump to content

weabow

Members
  • Content Count

    83
  • Joined

  • Last visited

Everything posted by weabow

  1. Hi there, I've an app which runs fine on Delphi 11, using crypted (aes-256) SQLite db, throught FireDac. This code no longer runs under Delphi 12. An error is fired from FireDAC.Phys.SQLiteWrapper.pas, procedure TSQLiteDatabase.Key(const AKey: String);, line 2119 : if Assigned(Lib.Fsqlite3_key) then begin... It seems that Lib.Fsqlite3_key is not assigned. Any idea will be very appreciated...
  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. I have a TImage in which I use the KeyDown event. But if I set the DragMode in Automatic, Keydonw is no longer fired. An idea ?
  4. weabow

    TButton : change backgroundcolor

    Hi there, I've now spend somme hours to try to change the Background Color of a TButton, or TSpeedButton, at run time. But no way ! An idea ?
  5. weabow

    TButton : change backgroundcolor

    I've found it : thanks a lot
  6. weabow

    TButton : change backgroundcolor

    Thanks a lot. I'de like to have a class inheriting from TButton, under FMX Crossplatform. How may I set the controltype in this case ?
  7. weabow

    Help with Thread on FMX

    Very technical answer : it helps a lot. Thanks
  8. weabow

    Help with Thread on FMX

    I'm not strong at threads, but have to use them due to crossplatform app. So : TThread.Synchronize is made to display something in the gui, surely. But I often prefer TThread.ForceQueue. After you have a lot of timers. In the past on Windows, that wasn't a good strategy. I'd prefer one timer with a switch. After you can use, I think, tthread.CreateAnonymousThread, but when you want it to do something to be displayed, you have to Synchronise, or ForceQueue, from this Anonymous thread. Also, if you have a variable in the main thread, and you want to change its value from Anonymous, you have to do it in a Synchronyse, from th Anonymous. And to finish, be careful of Android, which threads are a little bit differnet from the other plateforms. Hope this helps.
  9. No way for me to have the TFDPhysSQLiteDriverLink with those uses... Can't find library
  10. weabow

    Debug output

    Hi there, I've installed Athens, so of course I lost all my configuration, and above all, the types of messages printed in the output frame. I do not need all these informations, that "mask" my own informations. So in previous version I've arrived to control the output, but I can't arrive to do it on Athen. Where do I decide what appears in the output frame ? Typically, all the std messages during the use of the software are too mutch to me. I'd like to output only the messages I decide to output.
  11. weabow

    Debug output

    Of course ! Thanks a lot
  12. My app runs with sqlite and uses 2 files, stored in deployment page for MacOs like that : libcgsqlite3.dylib in Contents\MacOs libcgsqlite3_fde.dylib in Contents\MacOs I have a Notarization error : { "severity": "error", "code": null, "path": "intelli7.app.zip/intelli7.app/Contents/MacOs/libcgsqlite3.dylib", "message": "The signature does not include a secure timestamp.", "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733", "architecture": "x86_64" }, Any idea will be very appreciated... Solution The pb was that one of the libs had a path like that : c:\...\; It needs a path like : $(BDS)\Redist\osx64\ So need to edit myapp.deployproj to change the path.
  13. I think it depends on the OS target. On Windows, I do not add any file On Android, I add lib-native-activity.so On MacOs I add libcdsqlite.dylib and libcrypto.dylib On IOS I add ... nothing On Linux I add ... nothing But I'm not sure all these libraries concern SQLite
  14. [SOLVED] I've put on app boot a on the main form : TFDPhysSQLiteDriverLink, with the property : EngineLinkage -> sIFDEStatic Maybee an idea do do that from code ?
  15. Thanks for your replies. I've read the FireDAC SQLite Version Update and I understand I have to use option 3 : Continue using SQLite 3.31.1 or previous versions with FireDAC encryption (FDE). But I didn't see anywhere how to do that (sorry, it's not my best expertise). What's the code I need to put and where ?
  16. weabow

    Deep links to open the app

    Hi there, I would like to open my app (windows, macos, ios, android & linux) clicking on a link (inside an email for example), and pass to the app a parameter which is inside the link. Is it possible ? Regards
  17. weabow

    Deep links to open the app

    Thank you Alexander. I will not hesitate one second...
  18. weabow

    Deep links to open the app

    It helps a lot. Thank you
  19. weabow

    Deep links to open the app

    Great. Thank you
  20. weabow

    Deep links to open the app

    Very interesting. Thanks a lot.
  21. weabow

    Deep links to open the app

    Thanks. For Windows I know associations, but as I know, it needs to have a file. I've already implemented it and it runs fine with the file. But the need I have is to use a link, something like Zoom... It's a good news to know that on MacOs it can run. On mobiles, I've been told that it can run too, but on Apple maybee there are restrictions ? Linux is not in a hurry for me.
×