Good Day Everyone.. Im a very newbie in developing hybrid apps.. can anyone have an idea on how to make a simple SAPUI5 index.html then user input is being save thru device storage using SQLITE. Im kinda stuck on this one. I was able to load/show the index.html however I dont know how to get the values from the user input and be save in local/device storage.. if someone can provide a link and perhaps a simple code for reference..

You can serve your cordova project and debug it in chrome,as mentioned byNjål Stabell ,by executing “cordova serve android” . Looking at your error, it seems some how sapui5 resources are not accesible , so try giving this url in src

Are you getting the data in sapui5 application (not packaged one) ?, also try it on a device instead of a simulator (if you are using simulator please check if you are able to get any response in a simulator browser for that particular oData service url ).

After creation and adding android platform to the cordova app, you will see www folder in the root of cordova app.Copy all the js files (like view.js , controller.js, index.html and css files from SAPUI5 app) to this www folder (replace default index.html and js files). also refer cordova.js in new index.html file.You can build cordova app by executing “cordova build android”.

You can visit this link to get some clarity on folder structure and fuctionality of each folder.

It is your first image location, you usually copy your source code in here and execute “cordova build android” (or iOS), this command will take care of copying all those files to your second location and building it.

i have created the phonegap app, successfully imported it to Eclipse as an existing android code, with no errors… but when i try to run it as an android application on a device or emulator i get this “Unfortunately, Approval has stopped”

I have also included the cordova-2.4.0.jar file on my proj and my project is an Android 4.0

also cordova 2.9.0 is kind of old, just try using cordova 4.3 with a CLI it has nice project structure, and you don’t have to import android workspace into eclipse, you can build and run cordova apps with simple command like “cordova build android” or “cordova run android”. Follow these links here for more info,

I have add the resources and my view controller js files into the www folder, and revise the index.html created by cordova as well as index.js as you said, now the errors are as below , attached with my index.html, could you help me?