Date post: | 02-Jun-2018 |
Category: |
Documents |
Upload: | vidyadharnemalipuri |
View: | 235 times |
Download: | 1 times |
of 13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
1/13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
2/13
Deploy a SAPUI5 Mobile App to Android Device
2
TABLE OF CONTENTS
PREREQUISITE ................................................................................................................................................ 3http://developer.android.com/sdk/installing/installing-adt.html ................................................................. 3
STEPS TO DEPLOY AN SAPUI5 APP TO ANDROID DEVICE USING PHONEGAP .................................... 3
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
3/13
Deploy a SAPUI5 Mobile App to Android Device
3
PREREQUISITE
You should have installed Android SDK and Android tools for Eclipse
http://developer.android.com/sdk/installing/installing-adt.html
STEPS TO DEPLOY AN SAPUI5 APP TO ANDROID DEVICE USING PHONEGAP
1. Launch Eclipse and go to Java perspective
2. Click on File -> New -> Android Application Project
3. Enter the application name as refapp-msapandroid-companylist as shown in the below pic, selectthe minimum required SDK, Target SDK, Compile With, Theme as shown in below pic and click onNext button
http://developer.android.com/sdk/installing/installing-adt.htmlhttp://developer.android.com/sdk/installing/installing-adt.htmlhttp://developer.android.com/sdk/installing/installing-adt.html8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
4/13
Deploy a SAPUI5 Mobile App to Android Device
4
4. Click on Next button with the default selection
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
5/13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
6/13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
7/13
Deploy a SAPUI5 Mobile App to Android Device
7
9. Select the Assets folder in the project explorer and select New -> Folder
10. Enter the folder name as www and click on Finish button
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
8/13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
9/13
Deploy a SAPUI5 Mobile App to Android Device
9
13. Add the below two lines in the MainActivity.java file. Also, change the Extends to DroidGap
super.setIntegerProperty("loadUrlTimeoutValue", 60000);super.loadUrl("file:///android_asset/www/index.html");
14. Copy and paste the following content into the AndroidManifest.xml. Paste it below the use sdksection.
supports-screensandroid:largeScreens="true"
android:normalScreens="true"android:smallScreens="true"android:resizeable="true"android:anyDensity="true"/>
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
10/13
Deploy a SAPUI5 Mobile App to Android Device
10
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
11/13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
12/13
8/10/2019 Deploy a SAPUI5 Mobile App to Android Device
13/13
2013 SAP AG. All rights reserved.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP
BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP
products and services mentioned herein as well as their respective
logos are trademarks or registered trademarks of SAP AG in Germanyand other countries.
Business Objects and the Business Objects logo, BusinessObjects,
Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as
well as their respective logos are trademarks or registered trademarks
of Business Objects Software Ltd. Business Objects is an SAP
company.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL
Anywhere, and other Sybase products and services mentioned herein
as well as their respective logos are trademarks or registered
trademarks of Sybase Inc. Sybase is an SAP company.
Crossgate, m@gic EDDY, B2B 360, and B2B 360 Services are
registered trademarks of Crossgate AG in Germany and other
countries. Crossgate is an SAP company.
All other product and service names mentioned are the trademarks of
their respective companies. Data contained in this document serves
informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materialsare provided by SAP AG and i ts affiliated companies ("SAP Group")
for informational purposes only, without representation or warranty of
any kind, and SAP Group shall not be liable for errors or omissions
with respect to the materials. The only warranties for SAP Group
products and services are those that are set forth in the express
warranty statements accompanying such products and services, if
any. Nothing herein should be construed as constituting an additional
warranty.
www sap com