Jump to content

sjordi

Members
  • Content Count

    196
  • Joined

  • Last visited

Posts posted by sjordi


  1. 2 hours ago, Sándor Bógáncs said:

    Not working ...... But on the https://my.embarcadero.com/#registeredProduct page I can see all the licences including Delphi 11.

    What to do?

    Same for me. I have a clean Windows install, no previous version installed. No license file (.slip files) anywhere on the disk.
    The license portal shows Rad Studio 11 Enterprise as Active and Registered.

    No way to install it. Always telling me I need a valid license.

    The Advanced > Update, Remove, Add again options have no effect besides making me lose my time (in any order or sequence).

    I mean... c'mon, just handed 2'200USD to upgrade and can't install.

    • Sad 2

  2. Hi all,

    I need my app to be able to receive docs sent from other apps on mobile devices. I guess that you have to use the Share option on any 3rd party app and then send it to my Delphi app... In a way, it's a manner of replacing drag&drop from the desktop.


    Anybody knows whether there are documented guidelines on how to send documents to a Delphi app on mobile devices?
    The share mechanism (I guess) has to be able to list my app as a recipient.
    How do we make

    1- the Delphi app available as a recipient (seen as such by other apps)

    2-how do we trigger (react) when the Delphi app receives the document?
     

    Thanks for any guidance if you already tinkered with such approach!

    🙂 

     

    Steve 


  3. Mida does most of the work but a lot of controls won't migrate. But at least you will have a pretty good skeleton which keeps most controls with their associated names and Events, but it's far from being perfect. If you VCL forms are very complex, I think you'd better off starting from fresh with an FMX clean form: that also could be a good opportunity to re-think your forms and GUI. That's where two screens come handy: VCL on the left, FMX on the right 🙂 

    Now, for DBGrids, they don't exist in FMX so you should put a grid or stringgrid depending on what you display and then link it to data using LiveBindings.


  4. Thanks,
    They just answered my question and plan cross-platform support very soon.

    Quote

    We are planning to add cross-platform compatibility with macOS, iOS and Android support soon.

    This could be great news. I'll definitely give it a try.


  5. Hi,

    Just saw the page about Absolute Database from the Embarcadero blog about the secret alternative for SQLite...

    But I asked them, but they didn't answer...

    To me being an alternative to SQLite means it's cross-platform.
    Is this the case? Absolute seems to be only Windows. 
    Didn't find anything on their website.

    Any experience with that tool to share with the community?
    Thanks


  6. No, as weabow said and as stated in the requirements, you need XCode and a MAC to deploy to Mac or iOS/iPadOS

    You can't sideload apps to Apple devices for security reasons. They need to be signed by certificates issued by Apple.

    • Like 1

  7. 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.


  8. 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.


  9. 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

     

    indexedtable-demo.jpg


  10. 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?

    Screen Shot 2021-03-16 at 08.34.08.png


  11. Quote

    That sort of thing is what most people out there would consider a cool design, I guess.

    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.

     

     


  12. 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.


  13. 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


  14. 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.

     


  15. 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


  16. 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


  17. 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...

     

    • Like 1

  18. 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;
     

     

×