DRI framework phonegap app