sample phone gap code added