removed phonegap calls.