This is phonegap practice