I had made SAPUI5 app which works absolutely fine on browser . Now using phoneGap Build I converted the UI5 application to .apk so that UI5 application can be used as native app on Android device . Now when I installed the .apk on the Android device it gets installed successfully and it the firstpage of the app opens . Now on the first page user needs to add certain details . After adding those details on user needs to press submit button which would make call to OData Service but at that point when I run this app on Android device it shows following error :-
and the code where its showing error is shown below:-
oModel.read("http://hilsaps02bt.global.enterprise:8000/sap/opu/odata/sap/Z_PASSWORD_RESET_DEMO_SRV_SRV/z_es_pwd_reset_screen1?$filter=Username eq '"+Username+"' and Systemid eq '"+Systemid+"' and Clientno eq '"+Clientno+"'", null, null,true,fsuccess);
and oModel has been defined as shown below:-
Below shown is the screenshot of my config.xml :-