Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Category: Programmazione

Digital solution partner

Delphi NetHttpClient Basic Auth

First method:

  Second one:

  PreemptiveAuthentication: Generally, when the server receives the request, it replies that it needs a user and password to access it, so your basic authentication works. There are cases in which the server is configured to accept only calls that in the first instance send the authentication data.…
Read more

Embarcadero – IBTogo License Registration

If you purchased an IBTogo License, to use it inside you program you need to do : On Android / IOS : go to: https://reg.embarcadero.com/srs6/activation.do Insert your license code and serial and you can get reg_ibtogo.txt, after that you put this file in deployment of your project and the destiniation dir need to be /

Delphi Linux getting MacAddress

In linux every adapter configuration has a file system path, for example the adapter eth0 has all configuration, in some text files located in “/sys/class/net/eth0/”. The file whose name is “address” contains a single line with the mac adrress value.

 

old style delphi records really helpfull to manage serial protocols

      thank’s to my self obviusly

RAD Studio 10.4 – first impression

RadStudio 10.4 is a release that promises great things in all areas of this fantastic development environment. Taking a first test run we noticed: In FMX applications we have noticed a noticeable improvement in character rendering The new LSP (language server protocol) system seems to have made the IDE even more fluid and productive during…
Read more

Android App Version with Delphi

Using the JPackageInfo class is simple to retrive the version of your Android application. This class is already wrapped by Embarcadero in the following unit: Androidapi.JNI.GraphicsContentViewText {code} {$IFDEF ANDROID} var PackageManager: JPackageManager; PackageInfo: JPackageInfo; begin PackageManager := SharedActivityContext.getPackageManager; PackageInfo := PackageManager.getPackageInfo (SharedActivityContext.getPackageName, 0); result := JStringToString(PackageInfo.versionName); End; {$ENDIF}