A simple phonegap plugin