Skip to Content
0

Application SAPui5 with PhoneGap, no working services JSXS

Dec 14, 2016 at 11:40 PM

120

avatar image
Former Member

Hi, I'm working with sap hana cloud platform trial account,

I have developed an xs application for sap hana with sapui5,

Now I have been commissioned to generate the application apk.

My application works well in sap hana, But when I generate the apk with eclipse and phonegap, the interface is fine but the crud does not work.

And in log output, no error message appears.

I have taken this references:

https://blogs.sap.com/2014/06/14/sapui5-mobile-app-for-cross-platformsiosandroid-using-phonegap-part2/

Is that you can not work with xsjs from an android application?

Please some suggestions?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Jun Wu Dec 15, 2016 at 12:14 AM
0

your code? did u use full address? did u put it in the whitelist?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 15, 2016 at 02:30 PM
0

What do you mean, the whitelist?

I'm use this adrres for my services.

Now I realize that when I run the application for the first time it shows me this error, only the first time. Then it no longer displays this message.


sin-titulo.png (49.5 kB)
sin-titulo.png (41.9 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 15, 2016 at 03:26 PM
0

Now I'm also testing from the browser to get that in the console.


sin-titulo.png (154.8 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 15, 2016 at 04:04 PM
0

I added the url han in my .xml file, but I get the same.


sin-titulo.png (68.0 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Dec 16, 2016 at 04:08 AM
0

when u run your app, you can debug with chrome from PC

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 16, 2016 at 02:16 PM
0

I think that is because in an app with phonegap does not show me when loading the application the login dialog, is there any way to login to bank end, to merge data from a file .xsjs from sap hana?

Share
10 |10000 characters needed characters left characters exceeded