# cloud-hana-mobile-app-tutorial **Repository Path**: mirrors_SAP/cloud-hana-mobile-app-tutorial ## Basic Information - **Project Name**: cloud-hana-mobile-app-tutorial - **Description**: Illustration of the logon and OData access functions with the SAP's Mobile SDK for native apps. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](https://img.shields.io/badge/STATUS-NOT%20CURRENTLY%20MAINTAINED-red.svg?longCache=true&style=flat) # Important Notice This public repository is read-only and no longer maintained. # Native Mobile App Package ## Northwind OData application example The application source code in this repository along with the **Mobile Group 6: Build a Native Android app** tutorial series on the [SAP Tutorial Navigator page](http://go.sap.com/developer/tutorial-navigator/developer-tutorials.intermediate.html) is intended to illustrate the logon and OData access functions of the SAP Mobile Platform SDK for a native Android application. The starting point of the code was the template app generated in the Android Studio master-detail flow wizard, then modified to implement the capabilities below. The Northwind application registers with the SAP HANA Cloud Platform mobile services for developer operations, and displays product data (from the [Northwind OData service](http://services.odata.org/V2/Northwind/Northwind.svc/$metadata)) in a master-detail view (on phone and tablet form factors). The project illustrates the following: - Creation of a master-detail flow in Android Studio - Adding the SAP Mobile Platform SDK to an Android project - Code required to customize the MAF Logon component of the SDK - Creating an application in SAP HANA Cloud Platform mobile services - Building an OData resource path with “orderby” query options - Application logic and mobile SDK calls to access an OData service that enforces server-side paging - Extracting and storing data in the same variable scheme used by the Android Studio generated code - Sub-classing the Android Application class use of the Singleton pattern to store the received data - JavaDoc and in-line comments - Creation of an app in SAP HANA Cloud Platform mobile services Prerequisites: - Create your HANA Cloud Platform trial account and enable mobile services for Development an Operation [[Details]](http://go.sap.com/developer/tutorials/hcpms-enable-mobile-services.html) - Download and install the latest SAP Mobile Platform SDK and any patch releases [[Download link]](https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pid=0000013098&catID=MOB&pcntry=US&sap-language=EN&_cp_id=id-1441300266697-0) - Download and install Android Studio [[Download Link]](https://developer.android.com/sdk/index.html) Get the source code: - Clone the Git repository: `git clone https://github.com/SAP/cloud-hana-mobile-app-tutorial` - or [download the latest release](https://github.com/SAP/cloud-hana-mobile-app-tutorial/archive/master.zip) Once the pre-requisites are complete, the steps to create the app in Development & Operations, add the source code to your project and walkthrough of the main classes is contained in the online tutorial in [Mobile Group 6 of the SAP Tutorial Navigator page](http://go.sap.com/developer/tutorial-navigator/developer-tutorials.intermediate.html) If you are interested in hybrid implementations of the same application, you can view those tutorials at the links below: - **Web app** ([Mobile Group 1-3)](http://go.sap.com/developer/tutorial-navigator/developer-tutorials.beginner.html) – *using SAPUI5, SAP Web IDE* - **Hybrid app ([Mobile Group 5)](http://go.sap.com/developer/tutorial-navigator/developer-tutorials.intermediate.html)** – *using HCPdo, SAPUI5, SAP Web IDE, Hybrid App Toolkit, Apache Cordova and the Kapsel SDK* Abbreviations - **HCP** - *SAP HANA Cloud Platform* - **HCPdo** - *SAP HANA Cloud Platform mobile services for development and operations* ## Important Disclaimers on Legal Aspects This document is for informational purposes only. Its content is subject to change without notice, and SAP does not warrant that it is error-free. SAP MAKES NO WARRANTIES, EXPRESS OR IMPLIED, OR OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. ## Coding Samples Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, unless damages were caused by SAP intentionally or by SAP's gross negligence. ## Copyright and License Copyright 2015-2016 SAP SE Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.