Jump to content

sjordi

Members
  • Content Count

    206
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by sjordi

  1. sjordi

    Drone control from mobile

    How do you get video streaming? Are you using a special FMX tool?
  2. Hi all, Just was wondering how to actually link vertical scrollbars to TListViews using FireDac pagination. All the examples and doc about fetching limited rows for huge datasets talk about reacting to a Back or Next action (probably buttons) when you trigger the fetching of the next set, say, next 100 rows. This is done this way: FDQuery1.FetchOptions.RecsSkip := FDQuery1.FetchOptions.RecsSkip+1; But how do we connect this with a vertical scrollbar dynamic movement? Is the idea to 1- get the total number of records 2- get the current vertical scrollbar position (OnScrollViewChange) and calculate where we should proportionally be in the dataset and fetch those rows? It would be awful, very slow, and totally approximate. Or can the scrollbar be synced with the actually dataset in pagination mode in a more natural way? Thanks for any light. I prefer to ask first rather than try code for 3 days without results 🙂 Steve
  3. sjordi

    Crash when Delphi 10.n exits... again

    Installed it in 10.4.1 at the very beginning of the full reinstall. Displayed the SynEdit crash error message. Then when everything was installed, all 3rd parties, I installed the latest GExperts DLL that has been recompiled in 10.4.1 and now no more crashes. Works flawlessly... So I suspect that the next time I'll install everything and GExperts only at the end so it's taking over all other DLLs, and nothing else can screw with it... Just a guess...
  4. sjordi

    10.4.1 Released today

    Embarcadero states that they are binary compatible within the same version. So that should work right away. Especially the BPL packages
  5. sjordi

    10.4.1 Released today

    For your information, I installed XCode 11.7 with 10.4.1 and it seems to work. I was able to compile some apps targeted to macOS, iOS, iPadOS and Android without problems, and they all include SQLite embedded DBs deployments. All this seems to work.
  6. sjordi

    10.4.1 Released today

    I confirm again that the Migration Tool is useless. Just reinstalled 10.4.1 from a clean VM and installed my tools, etc.. then ran the migration to copy the 10.4 settings over 10.4.1 All paths are still not configured, toolbars are out of the box, not the ones I had in 10.4 Useless.
  7. sjordi

    10.4.1 Released today

    XCode 11.6 or XCode 11.7 released today?
  8. sjordi

    10.4.1 Released today

    I have tried to use the web installer right in my current VM with 10.4 It fails to uninstall a lot of things, then fails to upgrade correctly. So back to the empty VM and installing everything from scratch. Again.
  9. sjordi

    10.4.1 Released today

    Full install from scratch or the promised upgrade path on top of 10.4 ? Any idea?
  10. sjordi

    FireDAC SQLite error upon table open

    Use the FDConnection BeforeConnect event procedure TdbModule.fdConnectionBeforeConnect(Sender: TObject); {$IF DEFINED(MACOS)} var resourcesPath : String ; newPath : String ; position : Integer ; {$ENDIF)} begin // Get the correct Win, OSX, iOS or Android DB path fdConnection.Params.Values['Database'] := 'mydb.s3db' ; {$IF DEFINED(iOS) or DEFINED(ANDROID)} fdConnection.Params.Values['ColumnMetadataSupported'] := 'False' ; fdConnection.Params.Values['Database'] := TPath.Combine(TPath.GetDocumentsPath, 'mydb.s3db') ; {$ELSEIF DEFINED(MACOS)} resourcesPath := paramstr(0) ; position := Pos( '/Contents', resourcesPath ) ; newPath := paramstr(0).SubString(0, position )+'Contents/Resources/mydb.s3db' ; fdConnection.Params.Values['Database']:= newPath ; {$ENDIF} end; Don't forget to add the db to the Project Deployment window and set Remote Path for each platform: macOS: Contents\Resources\ iOS: StartUp\Documents\ (this one will show up the DB in FileSharing under iTunes or your device finder - You can download, erase, add the file to the app) iOS: Library/Application Support/[your app directory] for files you want accessible from your app but not from the user (not shared) Android: .\assets\internal
  11. sjordi

    Crash when Delphi 10.n exits... again

    Ok no hand over that then 😞 Thanks for the clarification.
  12. sjordi

    Crash when Delphi 10.n exits... again

    What is funny is that it states "Call DeactivateFontsInfo before calling this" for SynTextDrawer.pas line 475 Did someone try this?
  13. sjordi

    Free SQLite -> Interbase tool?

    Ok that did it. I had some troubles first but I was able to batch move table by table and get the equivalent in Interbase. Now I'll try to implement the triggers to replace the missing autoinc fields. 🙂 Thanks for the suggestion Steve
  14. sjordi

    AES Encryption - FMX

    Are you within a professional environment like work? They may have a firewall and forbid the connection to the server. Did you try with public Wifi or use your 4G connection on your smartphone as a hotspot to bypass possible restrictions? It won't work for iOS unfortunately if I'm correct. Steve
  15. sjordi

    AES Encryption - FMX

    From Petit I select LockBox 3.7 and install it without troubles. If asked to continue executing the script, say yes. You can't contact the developer. TurboPower doesn't exist any longer, for more than 10 years. But they were nice enough to release the source code. You might find them on Github and create issues tickets there if required. By the way, it seems to not support iOS. Only Windows, macOS and Android.
  16. sjordi

    Content not filling screen on iPhone 6

    Yes, as soon as you have the storyboard file created, it's going to be fullscreen. If you have a storyboard file, delete it. Launch Delphi, select iOS as your target and run the app. That should be enough
  17. sjordi

    10.3/10.4 Debug iOS?

    Hi, Just tried to debug an iOS app from within the IDE but when launched on the iPhone, all breakpoints are marked as invalid and the app doesn't stop on any of them. Even an empty app with a breakpoint in FormCreate doesn't work.The Events window says Module Load: dyld. No Debug Info. Base Address: $0000000104D8C000. Process Project1 (1774) Module Load: Project1. Has Debug Info. Base Address: $0000000102D34000. Process Project1 (1774) No Debug Info for dyld... Am I missing something? Thanks for any clue. (I'm in Debug mode of course, not Release) Xcode 11.5 and iOS SDK 13.5
  18. sjordi

    10.3/10.4 Debug iOS?

    Mhhh.. just tried in a macOS VM at work and I do have the breakpoints working. Strange. I also tried back once back home and guess what... it is working now. For how long I have no clue. Pretty weird... I have the same config on both RadStudio as it's the same VM in which I develop under Windows 10 and target iOS. Very strange. Thanks all anyway
  19. sjordi

    Free SQLite -> Interbase tool?

    Pretty smart. Should have thought about that. I'll try this right away.
  20. sjordi

    Free SQLite -> Interbase tool?

    Ok I tried DBeaver but unfortunately it doesn't know Interbase. I'll write an app myself I guess. Shouldn't be that complicated. Sqlite -> Interbase doesn't seem as an option for most people
  21. sjordi

    Crash when Delphi 10.n exits... again

    Mmmh in my case, it's not FixInsight that crashes. It's Gexperts that crashes. If I don't have FixInsight, Gexperts closes gracefully when the IDE exits. So FixInsight, like other components or tools, is probably changing something in the IDE that, as a side effect, makes GExperts crash
  22. sjordi

    Crash when Delphi 10.n exits... again

    I'm going to snapshot my full install, then remove FixInsight and see how it behaves. Coming back to this forum with results.
  23. sjordi

    Free SQLite -> Interbase tool?

    Thanks all. Rebasedata doesn't work the way I want, it's SQLite -> Interbase and it offers the other way around. Yes, I'd like to skip the create table equivalence nightmare before a dump/source But it looks like I won't have much choice to do this manually 😞 Thanks Steve
  24. Would be nice actually.
  25. Instead of moving that file, isn't it better to put it to the right place right away and deal with a flag in a DB to know whether it has been initialized or not?
×