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

Categoria: Programmazione

Digital Innovation Partner

ADB Android Shell Find Files

To find a file in the Android Shell “ADB” you can use this command: # busybox find “filetosearch” you can do the same with # ls -R | grep “filetosearch” but you can’t see the directory where is the file

DKLang for Delphi

DKLang è un package per Delphi relativo alla gestione dell’internazionalizzazione delle applicazioni. E’ composto da un insieme di componenti, classi e tools veramente ridotto ma efficace, il tool è open source e compatibile con tutte le piattaforme di sviluppo di Delphi (Windows,MacOSX,iOS,Android e Linux) sia per Firemonkey che VCL. Le versioni del tool sono scaricabile…
Leggi tutto

Delphi/Firemonkey memory check on Android App by ActivityManager

Tested on Delphi 10 Seattle. by importing “ActivityManager” you can check the status of memory from you Android Applications, and check a lot of other things like if a process is running. here is the demo apk memtestandroid.apk and the source code : android_memorymanager_source unit Androidapi.JNI.ActivityManager; interface uses System.SysUtils, FMX.Helpers.Android, Androidapi.JNI.JavaTypes, Androidapi.JNIBridge, Androidapi.Helpers, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.Os,…
Leggi tutto

CALCOLATRICE IN JAVASCRIPT

[iframe  style=”margin-left: 120px;” width=”100%” height=”350px” src=”http://82.85.184.181/fileshare/sitosimo/calc_edit.html”] Per la creazione di questa calcolatrice iniziamo a definire gli spazi in cui verrano posizionati i nostri elementi (numeri e operazioni) includendoli nei  tag div. Per la visualizzazione delle operazioni utilizziamo un input text. Lo stile(CSS) della calcolatrice è stato definito in linea al file, per comodità può essere…
Leggi tutto

Delphi – Int to Hex and Hex to Int

int2hex example in delphi: var str : string; // hex value b : byte; begin b := 15; str := system.sysutils.inttohex(b,2); end; // the result in str will be : ‘0F’ hex2int example: var strHexVal : string; // hex value intVal : integer; begin strHexVal := ‘0F’; intVal := StrToInt(‘$’ + strHexVal); end; // the…
Leggi tutto

Delphi Firemonkey manage VirtualKeyboard on mobile applications

In Firemonkey you can manage the virtualkeyboard on your mobile applications. if you need that the keyboard not autoshow in your application when a text box is selected you can add this code: // uses FMX.Types // you can set TVKAutoShowMode = (DefinedBySystem, Never, Always); FMX.Types.VKAutoShowMode :=TVKAutoShowMode.vkasNever; obviusly to enable the virtual keyboard: // uses…
Leggi tutto