on 02-12-2016 4:34 AM
I have made an SAPUI5 app and now I want to make this app as a native app so for that I used Phonegap build . Using that my application got converted successfully to .apk format . Now I installed that application on my Android device . The app successfully opens but then it displays a balnk screen nothing is displayed and even no error is shown. So can anyone help me with it?
Hey there
Look at this link to see how to debug your phonegap app:
Remote Debugging Devices | Web Tools - Google Developers
Maybe you can find the error by this. Otherwise if I look at your index.html, you download your resources from the sapui5 website, not from the local www/ folder, maybe you aren't allowed to download them from the sapui5 website.
Mabye you can change your path to the local SAPUI5 Ressources
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal">
or allow the domain SAPUI5 SDK - Demo Kit for your android app using this link:
GitHub - apache/cordova-plugin-whitelist: Mirror of Apache Cordova plugin whitelist
Regards
Fabian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are getting blank screen means there is no ui5 resources in your project. Download resources from openui.org and copy it into webapp folder.Then generate the apk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
which document you are following?
did u pack the ui5 lib?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I first created an application using eclipse IDE and then it works properly on browser . Now I want to convert it into device specific format i.e .apk as I want to run this app as native app so for converting it into .apk format I followed the steps mentioned in the following link:-
UI5 and PhoneGap Build: First steps (part 1 of 3)
and how to pack UI5 libraries?
And apart from this is there any way with which i can convert the application to .apk?
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.