Skip to Content

Mobile Application Development Platform for Developers – Native Apps

Building Native Apps with SAP Mobile Platform – Enablement Resources

Overview Admin & Architect Developer Integration Events
Native Apps
iOS | Win | Android
Hybrid Apps

Developing Native Mobile Apps with SMP

The SDK of the SAP Mobile Platform  provides you with tools that streamline the development. One of the most common types are Native Apps: mobile apps developed specifically for one device operating system.

Native apps typically perform better than other application types and provide full access to a device’s hardware.

They are often used for consumer facing apps – when branding and customer satisfaction are of highest priority. As a draw back, native apps have to be re-written for different device technologies, therefore can come at a higher cost.

Our harmonized OData SDK provides an open and flexible framework for native OData application development for both online and offline applications for the most popular devices OS’s: Android, iOS and Windows.

The name “Harmonized” comes from the concept that you can use very similar APIs across different platforms for native and cross-platfom apps, which run on either on-premise version or HANA Cloud Platform Mobile Services. We have different programming languages but ideally we want to use the very similar APIs – hence “harmonized”!

Native Apps by Operating System


iOS Apps

As always, the Documentation (SMP 3.0 SDK SP12 for iOS) is a great start to get going.

Next, Ken Unnai wrote an excellent blog series on how to develop native iOS apps with the SMP SDK, including both online and offline scenarios. Read his Introduction and then dive deep:

Online APIs for iOS Apps
Offline APIs for iOS Apps

Bonus Topics

Stan Stadelman has authored a number of technical blogs, one focusing on iOS:

1. In Introduction to HttpConversationManager, and SAML2 Auth in Mobile SDK, Stan describes how this provides a flexible framework for enterprise authentication in your apps.

2. OfflineStore differences from OnlineStore ‘Technical Cache’

Webinar: Online and Offline Apps

In his webinar, Kenichi Unnai covers how to develop online & offline mobile apps for iOS apps (pdf available).

1) Theory – How does the oData Store work

  • Online – 2:20  –  Offline – 5:20

2) How to Implement the oData Store API

  • Online 11:30  –  Offline 15:00
  • Read Entity, Request Fail 19:00
  • Create, Update, Refresh & Flush 23:30

3) Demo

  • Online Store 28:00  – Offline Store 31:00



Windows Apps

With SMP 3.0 SDK SP5, we have introduced the SDK for Windows apps. Check out the detailed SDK SP5 blog by Product Manager  Kiran Karunakaran. You would also find Documentation (SMP 3.0 SDK SP12 for Windows) very useful to read.

Also, check out the blog series by Milton Chandradas from the Technology RIG team.

Introduction to Developing Windows Apps with SMP

Introduction Video

Recorded Webinar

In this short video, Milton Chandradas shows how to build an app for Windows devices.

Milton goes into more detail in this webinar (Oct 2014), by adding demos and process flow charts to the presentation (pdf available).

  • Overview – SMP & Windows Apps
  • Demo: Setting up the SDK – 10:20
  • On-Boarding Users (Demo) – 14:00
  • HTTP GET Requests (Demo) – 23:00
  • Binding to UI Controls – 34:30
  • CRUD Operations – 37:00
  • Login Operations (Demo) – 43:00



Android Apps

Alongside iOS and Windows, the SAP Mobile Platform supports development of native Android Apps with its SDK.

Android Studio

In December 2014, Google launched Android Studio, Google’s official Integrated Development Environment (IDE) based on IntelliJ and it discontinued the Android Developer Tools (ADT) plugin for Eclipse, which means it’s time to leave eclipse behind. Check this blog if you are interested in Migrating Eclipse Based Projects to Android Studio

On-boarding Users onto the SAP Mobile Platform

Before any communication with the SAP backend systems can take place, a mobile app needs to on-board users onto SMP.

You can check the next post for a detailed description of the methods available to registrate in the SMP:

SAP Mobile Platform registration methods available for Android Programming

We support two ways of doing so, and Claudia describes them in her How-To Guides:

  1. MAF Logon Component: The Mobile Application Framework (MAF) contains the MAF logon component that provides easy integration for applications that use logon UI behavior.
  2. OData SDK: Certain use cases require more control over the look and feel of the logon screen or don’t require the logon UI behavior. In these cases, developers can use the SMP 3.0 OData SDK to onboard users

OData Consumption

These How-To Guides by Claudia show the step-by-step procedure on how to code an Android app to consume OData services. The guides use the Flight sample service available in all SAP Gateway installation.

Push Notifications: The SAP Mobile Platform provides native push notification support for major enterprise mobile platforms. This guide discusses enabling push notifications using SAP Mobile Platform, focusing on the specifics of the Android device platform and the Google Cloud Messaging (GCM) service. This guide uses new AppSettings API available to download and upload application setting from and to the Mobile platform.


Using the SAP Mobile Platform gives you a number of features, one being ‘supportability’. Claudia has authored two How-To Guides on this topic. Make sure to also check the webinar recording by John Polus, where he explains how Solution Manager can be used for system monitoring.

  • SDK SP05+ How to… Handle Synchronization Errors
    This guide explains how to handle business logic failures during synchronization.
  • SDK SP05+ How To…Write and Upload Client Logs to the SMP Server
    This guide explains how to upload client logs from an Android app to the server for further analysis.
    Log messages allow administrators and support professionals to identify problem areas. Developers can identify code problems by capturing debug level log messages. Set the log level for individual logging components to specify the amount of information captured.

Additional Links

Webinar: On-boarding & Developing Online and Offline Apps

Check the webinar recording below to get started with the SMP 3.0 SDK SP05+ for Android

In her webinar, Claudia Pacheco covers how to onboard users with the MAF Logon component, and how to develop online & offline mobile Android apps (pdf available).

  • Architecture Overview 0:50
  • Onboarding users with MAF 5:00
  • Harmonized OData API
    • Overview 8:40
    • Online 11:30
    • Offline 24:10
  • Demo 42:00

Need a summary? Watch this 6min version!

How-To-Guides (Archive)

As time allows, we will convert eclipse-based projects into Android Studio based project. The following guides represent those ones that have been already replaced.

Brought to you by the SAP Technology RIG and the SAP Mobile Platform SDK Development Team
You must be Logged on to comment or reply to a post.