Jump to content

sjordi

Members
  • Content Count

    111
  • Joined

  • Last visited

Everything posted by sjordi

  1. sjordi

    IOS SIMULATOR ON SYDNEY 10.4

    Simulator is part of XCode and works only on a Mac. You may find solution to actually have Macs as a Service, but it's pretty expensive most of the time. You can't develop and target iOS and macOS without a Mac. Everything you target to those OS are packaged and signed for you through XCode. That's why you would need Paralle or VMWare Fusion on a Mac in order to run Rad Studio in a Windows environment and be able to talk to the Mac.
  2. sjordi

    List Index implementation?

    Hi, Does anybody know whether a Index component exists for lists? In iOS it's sectionIndexTitlesForTableView and it adds the alphabetic index on the right of the list for quick jumping (see picture). I have been suggested to add a floating frame and build it myself, but I can foresee the problems and incompatibilities on all platforms If something already exists, I would be happy to learn about it. Thanks for any help Steve
  3. sjordi

    List Index implementation?

    Yes thanks, I know. That's why I ask whether there is another FMX component that does the same thing. I need this on all platforms. Steve
  4. sjordi

    List Index implementation?

    Ok thanks for that info. I did not formulate correctly my question. I tried it but it doesn't appear no matter where I set it to true or not. In the LiveBindings designer I used my ListView Item main field to link it to ItemHeader.Text and IntemHeader.Break. I correctly see the groups in my listview, it's fine, but no index on the right. The NativeOptions is set to Indexed = true (Grouped = true or false doesn't affect the result) [Added: It works, the ListView should be set to ControlType = Platform] But it works only on iOS. I need something that would on Windows, macOS and Android? Is there anything similar that works on all platforms? Something like what was available on the first versions of Outlook in the contact section. Thanks for your help.
  5. sjordi

    Delphi 10.4.2 and iOS - Deployment problem

    Just to make sure everything is set correctly on your side. Assuming you're using 10.4.2 * PAServer on the Mac should be version 12.2.10.3 * In Delphi, if you go to Tools > Options... > Deployment > Provisioning Select Build Type iOS Device 64-bit - Development You should have something like on the picture attached If you don't, does it change anything if you switch from Auto in the Provision Profile combo box to anything else that might be there? All Entitlement files should be removed from your projet before rebuilding it. Also, if you start a totally blank app and compile it to iOS, does it work?
  6. sjordi

    Delphi 10.4.2 and iOS - Deployment problem

    Looks like a certificate problem? Try to launch XCode, create an empty Swift project, save it in a temp place and compile it. Usually that brings everything you need from your developper account. Then delete all entitlement files from your Delphi project and try again? Let us know
  7. Hi, Just out of curiosity, are you using formfactors with FMX? I have added Android and iOS various screen sizes and adjusted them all to fit and place components. It looks like once deployed to the actual devices, it's just a joke, it's not usable and doesn't correspond to what's on screen at design time. What happens to screens with "in between" sizes? in the IDE you have Android 4" and 5" (that are barely taken into account on real 4" & 5" devices), but what if you have a 4.2" ou 4.8"? Working with all controls anchors is too much of a hassle. Anyway, let me know if you succeed in those form factors, and if you can share a tip or two, it would be wonderful. Thanks Steve
  8. sjordi

    Are you successful with form factors?

    @Rollo62 and all you're right. I think the main difficulty is where to place the cursor between too much info and not enough, rendering the app worthless I'll tinker a bit over the week-end 🙂
  9. sjordi

    Are you successful with form factors?

    Not my customers. They absolutely all hate so-called "web apps". They want an app that offers a consistent interface. I talk about "responsive" the way webpages are... say your screen is not as wide, then controls clutter on top of each others instead of being next to each others. That's something I want to avoid. Otherwise I would opt for web "apps" in that case with all problems related to them (controls jump to another positions when the CSS is finally loaded, things are often not aligned when responsively repositioned, doesn't work without an internet connection). I want a consistent UX. But I'll try to think more as a vertical scrollable layout on which I would have more control on them. Thanks anyway. Layouts seem to do a good job keeping things correctly together (if designed correctly). Of course cluttered GUI would be a nightmare, so I'm going to avoid that. As Sarina Dupont said, don't think "desktop" for mobile apps. But still, some control on the overall appearance is important to the original look and feel the developer intended to give his/her app.
  10. sjordi

    Are you successful with form factors?

    Thanks for your input. It definitely helps using layouts to at leas resize and position things the way I want. What I don't want is a responsive-like app, behaving like a webpage But I think that using layouts with the right corner anchors actually does the trick... I'll tinker a bit more with my current app to familiarize.
  11. sjordi

    Can't add other form factors

    Hi, Just designed test app which is mainly using a TTabControl with 7 tabs. Several TLayouts (some inside other layouts) on the first two tabs When I try to add any of the form factors then the IDE crashes and states the following message (attached) If I start a blank app and immediately add the form factors, then paste the entire structure of my app into the main form, it works, but it is crawling, very very slow. Any idea what could cause such a thing? FMX app in Delphi 10.4.2 Thanks for any light Steve idecrash.txt
  12. sjordi

    Can't add other form factors

    I can't as it uses 3rd party components. But I nailed the problem. It's a TMS Component. I started from a blank form and added all my components one by one, adding/deleting a form factor each time. Then I noticed that the problem is the FMXPlanner (calendar). It works fine as long as you don't set either the right and/or bottom anchors. If you align it to anything, then it crashes. If you set Align=None and you remove the bottom/right anchors, you can add any form factor you want. Just wrote to TMSSoftware to find why. Thanks for your input.
  13. Hi, From 10.4.1 to 10.4.2 all my apps on iPhone are now totally out of screen They don't fit the screen resolution anymore. Are the actual Launch Image dimensions defined somewhere? In the Icons menu in Delphi, it just says "Launch Image any appearance 2x scale" and "3x scale", but any image would do? Are you apps with launch images display them correctly on iPhones once you recompile them? Thanks for any clue. Steve
  14. sjordi

    The location of sqllite database ?

    For iOS: StartUp\Documents\ For Android: .\assets\internal Use those folders if you deploy an existing DB. This is the Project Options section. At runtime you can use something like this {$IF DEFINED(iOS) or DEFINED(ANDROID)} FDConnection.Params.Values['ColumnMetadataSupported'] := 'False' ; FDConnection.Params.Values['Database'] := TPath.Combine(TPath.GetDocumentsPath, 'mydb.sqlite') ; {$ENDIF} Then do whatever you need to create/open/update, etc...
  15. sjordi

    iOS Metal Api form doesn't fit on screen

    Where did you turn Metal on? To true? It should be done in the .dpr file, not in a .pas file... That makes a lot of difference. Something like .... {$R *.res} begin {$IF DEFINED(iOS) or DEFINED(MACOS)} GlobalUseMetal := True ; {$ENDIF} Application.Initialize;
  16. sjordi

    WatchOS

    I totally second that. XCode is cumbersome yet very powerful but can be intimidating too. Offering a watch equivalent to a main application (smartphone) is a must now and it would really be cool to be able to do this. But if I'm correct, the problem (technical) lies more on the Apple side than Embarcadero. Fingers crossed.
  17. sjordi

    WatchOS

    From what I know you need to code your AppleWatch app via XCode only for now. Android watches are different, it works from RadStudio, but not AppleWatch.
  18. Hi All, I try to implement pagination from a SQLite DB that is bound to a TListView. After following the docwiki examples using RecsMax, and RecsSkip on my TFDQuery, I can't find a way to actually have the TListView refresh. If I get only 20 record chunks, I always the same 20 items on my ListView no matter what I do. The problem is that I'd like the user to be able to navigate the TListView up and down transparently without noticing that the TFDQuery is loading the previous/next chunk of data, this for all platforms, so I won't use a PullToRefresh. I tried another example that seems to work on TGrid and TStringGrid... but TListView? Anybody succeeded in getting pages of records and have TListView correctly react? Thanks for any clue Steve
  19. sjordi

    DB Pagination and TListView question

    Ok I tried the code above and confirm that it works fine. Disconnect has to be used instead of Close for SQLite. Now with that kind of load, we don't control the vertical scroll bar though. It is just to navigate the current view (nn records we have decided to use for pagination) And the cursor size and position are proportional to those nn records, not the entire set. Maybe I should find a way to better optimize the SQL queries as a workaround. Thanks
  20. sjordi

    DB Pagination and TListView question

    Thanks all, I'll try this in the coming days. Was too busy... snow shoeing ! 🙂 I'll let you know if I discover some new things.
  21. sjordi

    DB Pagination and TListView question

    Ok I did exactly as you did, but it didn't work. Now instead of FDQuery.Close I set FDQuery.Disconnect instead and now it works... Just like you, I wasn't aware of Disconnect. Now I'll implement this when using the TListView scrolls... looks like OnScrollViewChange will do. Except it doesn't tell in which direction you scroll. But I'll figure this out. Otherwise I'll start a new thread of TListView scrolling events (mouse + finger) 🙂 Thanks a lot for your help. Steve
  22. sjordi

    App not running on Mac in applications folder

    Do you access an embedded DB ? If yes, do you place it in folders where you have the access right? Just tried with a MovieDB I have, embedding an SQLite database and moved the app into /Applications and it works without trouble. The DB is in the App own Contents\Resources\ directory Just like on iOS when my apps Start and then close immediately, it's related to ressources it doesn't find, like the DB. When I fix the DB path and have them in folder where the app has access rights and then it works without problems.
  23. sjordi

    XCode 12 compile error

    Well, everything is fine now. For a funny reason it didn’t install the new PA server I installed it manually, deleted the 14.2 SDK, and re-imported it. Now all the folders are correctly imported, And I can compile and deploy without problems
  24. sjordi

    XCode 12 compile error

    They released a patch today for Big Sur, XCode 12 and SDK 14... Just applied it, installed the new PAServer, compiled a very simple app under SDK 14.2 [DCC Error] E2597 ld: file '\\vmware-host\Shared Folders\Documents\Embarcadero\Studio\SDKs\iPhoneOS14.2.sdk/usr/lib/libiconv.dylib' too small (length=0) for architecture arm64 Switch to 13.7, everything's fine.
  25. This is a known bug, when exiting Delphi 10.3.n Rio or Delphi 10.4 GExperts creates an error. EAccessViolation in module rtl270.bpl ... in module bds.exe Followed by another one : Exception EAssertionFailed in module GExpertsRS104.dll at ... Call DeactivateFontInfo before calling this. ....SynTextDrawer.pas line 475 Since I'm installing Sydney 10.4 I realized (thanks to my VM Snapshots) that GEpxerts behaves perfectly until I install TMS FixInsight. If I take FixInsight out, then the problem is gone. That may be one lead to follow. I have many TMS Components that coexist without problem with GExperts. It seems to appear only once FixInsight is installed. Some users may have that SynTextDrawer error too without this component, but you never know. Just my two cents
×