Maybe most of you already heard the latest news, RAD Studio 10.1 Berlin shipped. There are a lot of good news in this version… and a lot of library are already able to be used with it. The official of embarcadero about Berlin is http://community.embarcadero.com/article/news/16226-embarcadero-announces-release-updates-for-rad-studio-c-builder-and-delphi usefull libraries already available for Berlin are: The turbopack libraries…
Leggi tutto
se siete interessati il link alla community di Remode : https://plus.google.com/communities/108145726488669027095 mentre la pagina ufficiale sul nostro sito: http://www.synaptica.info/it/prodotti/remode-developers/ ed infine il link al play store: https://play.google.com/store/apps/details?id=info.synaptica.RemodeManager Ringraziamo: – Makerzone per la stampa 3D (makerzone.it) – geektillithertz.com per l’immagine Android/rpi3
We are building a prototype of a ready-to-use box to provide remote read/write access to your devices via web. Based on Raspberry pi 3 + Android, Remode Manager App will be preinstalled and configured so that a simple usb/serial connection will instantly allow to remotely send command or receive data to Arduino or other IOT-oriented…
Leggi tutto
Dalla versione XE7 di Delphi sono disponibili i componenti per gestire Bluetooth Classico e LE. Con Firemonkey è abbastanza semplice creare anche un server bluetooth. Provando le mie applicazioni sul Raspberry PI3 dove Federico ha montato Marshmallow mi son accorto che se il BT non è disponibile sul device l’applicazione si schiantava. Per ovviare a…
Leggi tutto
To check with Delphi / Firemonkey if the screen is in Landscape or Portrait mode i use the FMXPlatform library as in the example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
uses FMXPlatform; ... procedure TForm2.FormResize(Sender: TObject); var ScreenService: IFMXScreenService; begin if TPlatformServices.Current.SupportsPlatformService(IFMXScreenService, IInterface(ScreenService)) then begin if ScreenService.GetScreenOrientation in [TScreenOrientation.soPortrait, TScreenOrientation.soInvertedPortrait] then ShowMessage('Portrait Orientation') else Begin ShowMessage('Landscape Orientation'); End; end; end; |
With Delphi , to the Seattle version , when you scale a bitmap image to enlarge using the command “Canvas.DrawBitmap(OiginalBitmap, RectF(0, 0, OiginalBitmap.Width, OiginalBitmap.Height), RectF(0, 0, Width, Height), 1, False);” the interpolation cant be disabled. A way to eliminate the problem is to manually scale the bitmap directly creating an image pixel by pixel .…
Leggi tutto