How to integrate SAP UI5 application to Apache Cordova for Mobile platform - eclipse

I am trying to integrate SAP UI 5 application to mobile application, for this I am working with Apache Cordova.
Created a sample application in Eclipse Luna which is having SAP UI5 Plugin
Created a sample Apache Cordova Application using Windows CLI
Copied the webcontent files from SAP UI 5 application to www folder of cordova application
Added Android Platform
Build the application
Now while running the app in mobile device, I am getting white blank page. I am not sure what's the problem is ? Can someone help me out.

As per my experience Wherever you built the application doesn't matter.!
You can create an Apache cordova project first then,copy the SAPUI5 Resource folder under www folder with your application files.The Resource folder which will be holding all the libraries which is mandatory to support SAPUI5 controls.
Also keep your Resource folder path in you index.html file in your project.
Then next step you try to build your application using CLI or Command prompt with Cordova standard commands.
I hope this will help you..!
Cheers.

Related

Flutter Web App deployment on Oracle weblogic server

How can i deploy Flutter web app on Oracle Weblogic server? furthermore is it possible to create war file of Flutter web project?
There's still no official deployment configuration for flutter web to .war file that used for Weblogic deployment format.
Currently, to do that you need to wrap your web build (the result from web folder using flutter build web) using Apache Netbeans Web Project tempate.
Step by Step how to do that are explained through this video :
https://www.youtube.com/watch?v=txyH0tOEPV0

Previewing IBM MobileFirst CLI-created project in browser

I'm trying to learn how to build and manage apps using MobileFirst CLI. I am used to creating them in Eclipse via the MobileFirst Studio. In the Studio-created project, there is a commons/ folder (and the mobilewebapp environment) which lets me preview the app via browser. Is there an equivalent way of doing this via CLI? Is this the same as running ionic serve because I am using Ionic.
Thanks!
MFP CLI 7.1,
Ionic 1.2.4
If you created a CORDOVA application using MobileFirst CLI v7.1, then no there is no commons folder because you've created a Cordova app, not a MobileFirst Hybrid app.
For future compatibility, it is advised that you will create a Cordova app and not a Hybrid app.
In the Cordova app, you simply have a js and css folders and an index.html file. These are equivalent to the same js and css folders and index.html you would have in the common folder of a MobileFirst Hybrid app.

Where do you put the libraries(sap.ui.core.js etc.) when downloading OPENUI5 SDK locally

I have a SAPUI5 Application developed via Eclipse(Using SAPUI5 Plugins) and now i want to call it to deploy on a Web Server.
But, in eclipse, i downloaded the plugins and libraries through Eclipse->New Software. Now, i want to download all libraries from http://openui5.org/download.html and place it locally.
Now, in eclipse version the code was
<script src="resources/sap-ui-core.js">
Now that i have downloaded the OPENUI5 SDK, where should i put it and how to refer it.
Most probably you will use Tomcat as a web server for testing, see here the basic steps for installation.

Unable to integrate ionic project into Mobile First

The worklight studio plugin fails to identify ionic tags when I import files from my ionic project into my worklight project.
Note: My ionic.bundle.js and ionic.css load fine.
It is better to not use classic Hybrid apps generated by MobileFirst Studio 7.1. Instead, create a Cordova app from the MobileFirst 7.1 CLI and integrate that app with Ionic based on the steps provided in this blog post: https://mobilefirstplatform.ibmcloud.com/blog/2016/08/14/going-forward/

Error compiling Web app using GWT in eclipse

I am following a tutorial to make a very simple demo app using GWT with eclipse ee.
I created a Web Application using steps: select File > New > Web Application Project. From the Eclipse menu, accepted defaults, unchecked use Google App Engine SDK & Generate GWT project sample code. Run it by Debug As > Web Application. It raises this error:
Missing required argument 'module[s]'
Google Web Toolkit 2.2.0
..................................................................................................................................................................
and
module[s] Specifies the name(s) of the module(s) to host
If you don't want to generate sample code, you have to create the gwt xml module (MyProject.gwt.xml), because eclipse doesn't generate this automatically.