Setup phonegap with sample app