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

Categoria: Articoli

Digital Innovation Partner

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

New realase of RemodeManager is relased

A new realese of RemodeManager was released. But the real difference is that now the internet sharing is based on https. The whole gestisto by a much more powerful server.

Javascript parsing JSON

function prova(){ var myMessage = ‘{“success”: true,”counters”: [{“counter_name”: “dsd”, “counter_type”: “sds”, “counter_unit”: “sds” }, { “counter_name”: “gdg”, “counter_type”: “dfd”, “counter_unit”: “ds” }, { “counter_name”: “sdsData”, “counter_type”: “sds”, “counter_unit”: ” dd ” }, { “counter_name”: “Stoc final”, “counter_type”: “number “, “counter_unit”: “litri ” }, { “counter_name”: “Consum GPL”, “counter_type”: “number “, “counter_unit”: “litri ” }, {…
Leggi tutto

Get client screen size in a browser by Javascript

using this simple code you can have the size of your client area in pix function getScreenSize() { var w = window, d = document, e = d.documentElement, g = d.getElementsByTagName(‘body’)[0], x = w.innerWidth || e.clientWidth || g.clientWidth, y = w.innerHeight|| e.clientHeight|| g.clientHeight; return x + ‘px ‘ + y + ‘px’; } window.addEventListener(‘resize’,);

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