This source code provides example for simple hybrid mobile app using cordova and ratchet 2.