A Step-by-Step Tutorial for Developing Mobile Applications on SAP HANA

  • by Vivek Sharma, Manager at Capgemini US
  • May 13, 2014
SAP Professional Journal
In this step-by-step tutorial for developing an Android-based mobile application on SAP HANA, learn how to expose data from SAP HANA as an OData service, how to consume data from the OData service on a Web application, and how to create an Android mobile application by using the PhoneGap hybrid Web container. This article uses SAP HANA Service Pack 6, Android developer tools, and Cordova version 3.4.0.
Learning Objectives

Reading this article you will learn how to:

  • Create a database table in SAP HANA and expose the data from the table as an OData service
  • Create an Android mobile application using PhoneGap
  • Consume data from the OData service in the Android application
  • Deploy the Android mobile application on an emulator
Key Concept

The SAP HANA platform consists of an In-Memory database and an application platform. Data from SAP HANA is exposed as an OData service. An Android mobile application can be built using HTML5, JavaScript, and PhoneGap. The mobile application consumes data from HANA that is exposed as an OData service.

Mobility is one of the most disruptive technologies of the past few years past and it has profoundly changed the way employees interact with each other and also how day-to-day work is done. Many businesses realize the potential of harnessing mobile technologies to optimize employee performance. Although in general adoption of mobile applications has grown exponentially, it has not grown at the same rate in the enterprise landscape. One of the primary reasons is the speed at which the underlying application or database layer provides data to the mobile application. This is where SAP HANA brings in a lot of value. HANA is the new SAP in-memory database and it can perform real-time operations at high speed—in many cases within sub-seconds.

To understand the concepts discussed in this article, you need a basic understanding of SAP HANA studio, OData services, SAPUI5, JavaScript, and Java. Knowledge of Android Developer tools and PhoneGap API is also very helpful.

Vivek Sharma

Vivek Sharma is a Manager with Capgemini US and has 11 years of experience in SAP. He is certified by SAP AG as “Application Associate for SAP HANA”. His expertise includes SAP UI technologies, SAP HANA Application Development, and SAP Mobile Application Development. His experience includes multiple full cycle SAP implementations spanning the pharmaceutical, food and media industries. Over the years he has played the role of a developer, solution architect, development lead, and project manager. Views expressed in this article are his own and not those of his employer. You may follow him on twitter at @vivsharma20.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.