Switched to Cordova framework. Maybe I should go for phonegap.