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

Blog

Digital Innovation Partner

[Android] how to import android contacts in your application

A very simple way to search, select and import contact information from your phone (Android Contacts) to your android app is: 1) Send the specific android intent “ACTION_PICK”: private void startContactPicker() { Intent contactPickerIntent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); startActivityForResult(contactPickerIntent, CONTACT_PICKER_REQ_CODE); } This intent will do for us and “for free” the operation of opening the…
Leggi tutto

Database migration [from Firebird 1.5 to Firebird 2.5]

[lang_en] One of the best solution to migrate a firebird db is to backup a database and restore it in a new version. Assuming we are using a linux version of firebird for backup you can use the common gbak (the same in windows). The only problem that i found is charset encoding that you…
Leggi tutto

Ubuntu Phone – one system everywhere

Happy 2013, the first news is Ubuntu Phone. In this video you can have a preview of this mobile system, presented by Mark Shuttleworth:

BUON NATALE!!!

nice C++ tutorial for beginners, from embarcadero

Those sections of C++ tutorials are very simple. Otherwise they explain the differences between Delphi (pascal) language and C++. Good job: Session 1: Session 2:

about DNS speed and configuration on Ubuntu 12.04

Hi, things have changed from when you have to add nameserver in file /etc/resolv.conf In case of a static configuration in /etc/network/interfaces is possible to add nameservers right here, with the following syntax dns-nameservers 8.8.8.8 213.205.32.70 As you can see is possible to define multiple nameservers. I will use Google public DNS for resolution because…
Leggi tutto