Open Android Studio.
Choose Start a new SAP Cloud Platform Android project.
The SAP Cloud Platform SDK has been pre-installed on this machine from Trial Downloads. For further installation details see Installing the SAP Cloud Platform SDK for Android.
The wizard can save the server connection details for multiple servers. A preconfigured account has been provided.
If the values are missing, the following values can be used:
Field |
Value |
Account Name |
SAP Cloud Platform Mobile Services Trial |
Admin API URL |
https://hcpms-p2000464045trial.hanatrial.ondemand.com/ |
Admin UI URL |
https://hcpmsadmin-p2000464045trial.dispatcher.hanatrial.ondemand.com/?hc_reset |
Username |
p2000464045 |
Password |
SCP!2pwd |
On the Cloud Configuration tab, select Use Existing and set the Application ID to com.sap.wizapp
.
The application configuration page for the com.sap.wizapp
is shown below that is referenced from the above screen of the wizard. It has already been created and has added multiple features of the SAP Cloud Platform Mobile Services.
The SAP Cloud Platform Mobile Services provides a sample backend destination named com.sap.edm.sampleservice.v2
that is being used here to provide data for the application. It contains product categories, product, supplier, customer and sales order data.
On the Project Configuration tab, provide the following configuration data:
Field |
Value |
Project Name |
Wiz App |
Project Namespace |
com.sap.wizapp |
Project Location |
C:\AndroidStudioProjects\WizApp |
Use Discovery Service for Application bootstrapping |
uncheck |
Generate Master-Detail Application |
check |
Enable Logging |
check |
Enable Upload |
check |
Enable Push |
check and browse to C:\AndroidStudioProjects\google-services.json |
If for some reason this file is missing, it can be downloaded from google-services.json.
After clicking Finish, a project is created.
Click the Run toolbar icon.
Choose the emulator to run the app on.