demo for cordova