-
Content Count
206 -
Joined
-
Last visited
-
Days Won
1
Posts posted by sjordi
-
-
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.
-
TMS has a mediaplayer that works.
It's an FNC component. Don't have the name on the top of my head.-
1
-
-
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. -
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
-
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.
-
Just from the top of my head, you absolutely need a Linux profile defined in your editor, either Ubuntu, Rocky or CentOS.
Do you have one that is not only defined, but on which you installed PAServer, connected to it, and then, mandatory, added a Linux SDK?
Then FMXLinux... -
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. -
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 -
If not already done, try taking a look at Marco Cantù's blog, this may help.
I didn't try it personally yet though.https://blog.marcocantu.com/blog/2019-december-getting-started-delphi-docker.html
-
The install should define all the library and search paths for you if you install via GetIt.
And the FMX.Form has nothing to do in the dpr or dproj file, but in the unit that uses it (the main form).Good luck
-
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.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... -
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 -
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).
-
1
-
-
Still no native iOS deployment?
-
Thanks for letting the community know.
You can report it yourself to Embarcadero: https://quality.embarcadero.com/secure/Dashboard.jspa -
In the main form, in the FormCreate event, comment the two last line at the end of the prodcedure
// if FLandscapeOrientationMonitor.ScreenOrientation = TScreenOrientation.Landscape then // DoOnLandscapeOrientation;
It works then.
-
Do you have permissions to write the DB?
Did you try to write a test file like "test.txt"? If it doesn't work, you don't have write permissions.Otherwise please provide the error message (if any) you get when creating the DB
-
1
-
-
It would be nice to address Linux ARM because more and more IoT and robots are using these processors. It would really be nice to target those ones from RadStudio.
-
1
-
-
It's also a huge improvement on ressource management.
You load only the form/frame you need instead of 10 tabs when using only 1.
-
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.
-
1
-
-
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.
-
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? -
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. -
I'm going to check on this. I do have it. I'll see whether one can tinker around and customize it as a ListView and eliminate the grayed out letters, etc...
Thanks for your help.
Screen Brightness in iOS
in FMX
Posted · Edited by sjordi
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.