Jump to content

sjordi

Members
  • Content Count

    196
  • Joined

  • Last visited

Posts posted by sjordi


  1. Jus did a Form with a button and it works against Ubuntu, CentOS7, Rocky8
    But I have the FMX.Forms in the main unit uses section, not in the project file.

    Screenshot 2024-04-08 at 09.29.46.png

     

    For your info, I just installed FMXLinux from GetIt and didn't configure anything else.

    I think a requirement is that you need a Linux connection and SDK before installing but that's about it.
    It didn't require any path definitions, etc...

     

    Screenshot 2024-04-08 at 09.29.12.png


  2. Hi all,
    Was just able to install Interbase 2020 and Rad Server on a Ubuntu 20.04 server.
    Accessing it via [ip address]/ems-server/version returns the correct info

    {"version":"4.6","server":"RAD Server"}

    That means it connects and sees it.

     

    Now if I try to use the console with [ip address]/ems-console/ it returns an error:

    Cannot open file "/webresources/templates/rlxMain.html. No such file or directory"

     

    The folder and file do actually exist.
    I just wonder why it tries to go /webresources with the front /

    Also everything is in /etc/ems where it actually is installed is in root:root or root:adm

     

    Thanks for any help.
    Steve


  3. Just on the run but from the top of my mind, I think you can launch Xcode and create an empty project, build it for iOS and Xcode should put things straight for you if your certificates are missing or not in the right place. Then reopen RadStudio and try to see whether it appears in the provisioning profiles (not in Auto mode).

    • Like 1

  4. That's actually how I worked around the native TabControl since I was using only the tabs, not the panels as I use frames instead.
    I switched to 4 buttons in a horizontal grid layer at the bottom of the other layer containing a listbox.

    Was just curious if the font problem would be solved. I'll try it on a test blank app.

    • Like 1

  5. On 7/30/2023 at 3:59 AM, Martifan said:

    On mobile platforms like iOS and Android, setting the TabHeight property directly on the TabControl doesn't work as expected. The tab height is determined automatically based on the platform [...]

    The key is that the tab height can't just be directly set on mobile - you have to go through the control's style. Check the documentation on TTabControlStyles and styling for more details.

    Thanks for the tip. I'll try to apply this to the font size. Under iOS, the font is so small in the tabs that it's barely readable when setting it to Platform Behavior.


  6. And customers can't open any kind of ticket when using a beta OS. They're on their own.
    Why should you waste time supporting them when they don't operate in the conditions/requierements fixed by your software.
    Why should you waste time adjusting your software to a beta OS that will dramatically change over the coming months? If you fix the crash, then maybe, in the next iOS beta release, it will come back because Apple changed something on their side?


  7. Hi installed on a clean Win11 VM and Android SDK was not downloaded and correctly installed. It was from the web installer, despite the fact I picked the option to install it.
    I've been suggested to use the platform management from the IDE to uninstall it (unselect). It worked a bit. Then I launched the IDE again and picked Android again from the Platform Manager. This time, it fully installed everything, and it's now working. 
    The NDK was ok, but the SDK option page showed all paths missing (and they actually were missing from the out of the box install)

     

    So try platform manager, uncheck Android and AdoptJDK, relaunch and check them back.
    It may solve your problem.


  8. That's actually my idea, I want to be as close as possible to the native functionalities, but it seems that platform native options for Android in Delphi do not offer the same navigation way as the Contacts app uses. That's why I'm trying to replicate it just for Android as my list view doesn't implement anything else that scroll up and down with a finger, which can rapidly become tedious if the list is long.

    If you set the native platform behavior on iOS you do have the index to scroll rapidly, not on Android as far as I know...

     


  9. Actually I'd like it to be vertically centered. The list may not have all letters. Ant it will always be available within the main screen.

    The idea is to simulate what you get on iOS. If my list is filtered, the index may have only "B-F-T-Z" for example and should be centered.
    Yes, the idea is to quickly scroll in the list on Android (and why not click-to-move on Windows and macOS)

    Here is an example on iOS that works with the native options. it's not implemented for Android.

     

    indexedtable-demo.jpg.19b9aef24497449c19041139298db5ff.jpg


  10. Hi all,

    Finally trying to implement this. Inspired by the Android Contacts app.

    One question, is there a way to vertically center the content of a ListView?
    The alphabet index will vary accordingly to the main ListView content. I don't want it aligned to the top, but to the center.

    Besides calculating the height of the list view and changing it dynamically... can we have its entire content vertically centered?

    Here is the illustration: the alphabet starts from the top and I'd like it vertically centered.

    Thanks for any clue.

    CenterListView.png


  11. Thank you. That seems to work.
    I have to combine this now with my OnItemClickEX event and see whether we can combine that.

    Also the problem is that the item is not moving. I'll see whether it's possible to make the Item itself slide right or left so the user can visually see what happens.

     

    Thanks a lot for your example, this is of huge help.

    Steve


  12. Hi,

    The TListView component offers just a swipe left to display the Delete button.

    While it's possible to customize the text with something else, it fires an event only to an Item "swipe left".

     

    I'd like to be able to swipe both directions, right and left, in order to check/uncheck (select/unselect) the current item.

    Any way to easily implement this? Or any available FMX component (even paid) that extends/derives from TListViews?
    Thanks for any help and suggestion

     


  13. Anyone here with RADServer setup experience?
    I'd like to find some advice or resources on how to secure the Server besides the SSL certificates and usual Apache/NGinx stuff.

    It would be more on how to avoid anyone being able to hack into the server and change/get data just by using the URL.

     

    Using DataSource parameters is a good way to avoid escaping all URL characters and avoiding SQL injection.

    Found that: https://blogs.embarcadero.com/tech-tip-how-do-i-secure-rad-server-for-production-deployment/

     

    But besides that? It seems to me, without practicing, that passing everything via the URL is a wide open door to guess what could be other URL keywords, variables, etc...

    I want to make sure that calls are, in a way, logged in with credentials before accessing anything and get answers from the server.

    That kind of things. I read David I hands on RadServer document, but it's more focused on how to use it for Rest than actually securing it.
    Thanks for any help and lights on RadServer deployment.

×