Jump to content

sjordi

Members
  • Content Count

    206
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by sjordi


  1. Of course the app had something else: images with a kid saying to shush with his finger on his mouth, the moon, the sun to explain a toddler what time of day it is.

    Actually, the brightness was just controlling the background to dim the screen at night.

    Could make it a bit more configurable and actually have it in the AppStore for others.

    Was intended as a sleep trainer like the image here: eyes closed you keep sleeping, eyes open, you can disturb us.
     

    sam-the-sleep-sleep-trainer-1.jpeg

    • Like 2

  2. Jut for the fun, 
    I programmed a little app for my daughter when she was young, to let her know whether she could wake up (day) or not (night), keep silent or not in the morning... 

    Meaning she doesn't wake us up at 5am on Sundays, but has to wait til 7...

     

    To adjust contrast I just put a TRectangle filling the form and added a ContrastEffect to it. Then adjusting ContrastEffect.Brightness values depending on time

    It was managing contrast just for the app on the desk tablet, not the entire iPad or Android tablet.


  3. 1 hour ago, Patrick PREMARTIN said:

    Don't forget the cost of maintaining two or more projects in more than one language, with more than one IDE / OS. Depending on the subject, the cost of Delphi licenses is not so high.

    Absolutely, that, to me, is one of the main point to go with Delphi or C++Builder. You have 1 codebase. 
    Sure, you'll have conditional compile/code for specific platform, but still only 1 project. No need for 5 different sources/teams to maintain in parallel (it never works) for Windows, macOS, iOS, Android and Linux.


  4. Did you install Delphi in a clean VM or over an existing previous version?
    I try to always have an empty Windows 10 or 11 VM from which I install RadStudio clean. That way, I'm always sure I don't face trailing registry keys, etc... Even if they're supposed to be fully compartmented to the specific product, sometimes, Windows does funny things.

     

    Good luck.

    Steve


  5. Just checked on my Athens 12.2 and Ubuntu.

    Created an empty MasterDetailApplication, works like a charm.

    Here is a screenshot.
    Where do you declare FMX.Forms? It's in the main form class and as well in the .dpr file. Did you tinker with them or not?

    Did you change any of your default IDE paths?

    Here are mine (My Documents is on the Mac, hence the y:\Documents but it should not change anything for you) for default ones and overrides.

    I also include my empty project for you to check.

     

    Default.png

    Overrides.png

    Ubuntu.png

    UbuntuMasterDetails.zip


  6. On 10/4/2024 at 7:24 AM, Brian Evans said:

    I started with FlashFiler then migrated to NexusDB

    [...]

    Both FlashFiler and NexusDB are royalty free so no per user fees in either standalone or C/S configurations. 

    I too used to first embedd FlashFiler and then NexusDB which I really like. But it unfortunately, it works with VCL apps only if I'm right.
    I know do only FMX apps and use SQLite instead.


  7. I did not work extensively on this but I'm able to detect whether it's a right or left swipe, but the red button always appears on the right, not the left.
    That means I can't add option to the left when swiping right.
    If I try one of these coming days, I'll let you know


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


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


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

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


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


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

×