Delphi is truly a cool development environment, with the right libraries it becomes unbeatable. Now with version 11 and all the IDE in HDPI it is a pleasure to work with. fmxLinux is the library that comes with Delphi to allow you to create visual applications on Linux with Firemonkey and it works great. TMS…
Leggi tutto
Some older MS-Windows version doesn’t support newest TLS protocol for winhttp library, so there is an official patch for this at this link: http://download.microsoft.com/download/0/6/5/0658B1A7-6D2E-474F-BC2C-D69E5B9E9A68/MicrosoftEasyFix51044.msi The error occurred was: “Error sending data: (12175) A security error occurred.” Otherwise to test your server protocols, a vary usefull service is: https://www.ssllabs.com/ssltest/analyze.html
To force quit an application by application name in MS-Windows you can use “taskkill” command. To kill an application by app name using taskkill you can write:
1 |
taskkill /f /t /im julius.exe |
In this example we kill our application “JuliuS” .
To detect device orientation change, you can use the following example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
uses System.Messaging, FMX.Platform; var FId: Integer; // Subscribe to TOrientationChangedMessage FId := TMessageManager.DefaultManager.SubscribeToMessage(TOrientationChangedMessage, DoOrientationChanged); // Write orientation change handler: procedure TMyForm.DoOrientationChanged(const Sender: TObject; const M: TMessage); var s: IFMXScreenService; begin if TPlatformServices.Current.SupportsPlatformService(IFMXScreenService, s) then begin case s.GetScreenOrientation of TScreenOrientation.Portrait: ; TScreenOrientation.Landscape: ; TScreenOrientation.InvertedPortrait: ; TScreenOrientation.InvertedLandscape: ; end; end; end; // Unsubscribe the TOrientationChangedMessage TMessageManager.DefaultManager.Unsubscribe(TOrientationChangedMessage, FId); |
The evolution of KVM and qemu is constant. To increase the size of a qcow2 disk just follow the steps below: Shut down the virtual machine Resize the image with
1 2 |
qemu-img resize image.qcow2 +SIZE |
where SIZE is the size (e.g. 30G for 30 gibibytes). Boot into an external live OS and resize the partition. So if you wanto to extend…
Leggi tutto
Xtumble Web Builder 2 è lo strumento base con cui personalizzaziamo tutta l’esperienza WEB delle applicazioni realizzate sulla nuovissima piattaforma cloud business Xtumble e con cui abbiamo realizzato gli e-commerce visibili su xtumble.store . Per permettere agli sviluppatori / designer / web developer di poter personalizzare le applicazioni pubblicate sulla piattaforma Xtumble abbiamo deciso di confezionare gli strumenti di…
Leggi tutto