Example of using phonegap feature