on 2015 Apr 27 8:40 AM
Hey Experts
I have created a cordova (4.3.0) project with the plattform "windows". I also added the "winstore-jscompat.js" at the top of the index.html.
On Windows 8.1 the applications works fine but on Windows Phone 8.1 (8.10.14234) appears a issue with dynamic content.
The "winstore-jscompat.js" is called, the call stack shows the file but i'm getting an issue with dynamic content in the Core.js
Hope anybody can helb me.
Thanks
Building Apps with UI5 for Windows Phone 8.1 is now possible.
SAP released Version 1.28.9 on 02.07.
With this version, building Apps with Cordova for both Windows 8.1 and Windows Phone 8.1 is now possible.
Please refer to SAP Note 2185152 http://service.sap.com/sap/support/notes/2185152
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
We are building SAPUI5 application (Hybrid App) and we wanted to run this app using Cordova container on target device Windows 8.1 tabs.
we developed cordova container using CLI and "Hello World" app is working fine, but when we copy files from SAPUI5 project into container project, it shows the blank screen.
Do you have any specific document or steps to be followed?
Regards
Saket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Saket,
have you including the winstore-jscompat.js as first file before cordova.js and sapui5?
Are you loading the sapui5 files from remote? On Windows you have to deploy the ui5 resources locally on the device and load it from there.
Also, you have to use version 1.28.9 or higher of ui5!
Regards
Simon
Hi Simon,
I will explain steps i did:
1. developed sample SAPUI5 application using Eclipse (Kepler)
2. Tested SAPUI5 app on Chrome browser, which runs as expected
3. Created Cordova container on windows 8.1 machine using CLI
4. Tested Hello World cordova container app, which also runs as expected
5. I copy pasted the resources from UI5 project to cordova project
6. add few code in index.html file (app ready)
7. tested the cordova container, it gives white blank screen.
Please suggest, where do i need to add winstore-jscompat.js file.
Regards
Saket
Hi
winstore-jscompat.js has to be included in index.html before including other files.
In this example the winstore-jscompat.js file has to be located in the same folder as the index.html. The cordova.js file will be added automatically by packaging your app over CLI.
Please check the path to your sapui5 resources. In this example the ui5 resources are located in a subfolder "resources" outgoing from the location of the index.html.
For debugging your app you can use Visual Studio! Community Edition is free to download an enough for this needs.
For that open the CordovaApp Project which is located in the folder platforms\windows.
Regards
Simon
Hello Simon,
Where are your SAPUI5 libraries stored? Just to try it out can you load the SAPUI5 libraries from the cloud rather than loading it from your local packages.
src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
regards...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.