Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

SMP 3.0 for Developers - Native Apps

$
0
0

Building Native Apps with SAP Mobile Platform - Enablement Resources

OverviewAdmin & ArchitectDeveloperIntegrationEvents
Native Apps
iOS | Win | Android
Kapsel 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.

 

With Support Package 5 for the SMP 3.0 SDK, we have released significant enhancements to our solution


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

 

idevices_48.png


iOS Apps

 

As always, the Documentation (SMP 3.0 SDK SP5) 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 Introductionand then dive deep:

 

Online APIs for iOS Apps

 

Onboarding

 

Offline APIs for iOS Apps

 

Stan Stadelman has authored a number of technical blogs, one focusing on iOS: In Introduction to HttpConversationManager, and SAML2 Auth in Mobile SDK, Stan describes how this provides a flexible framework for enterprise authentication in your apps.


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_8_smartphone_48.png


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, in which he lists the main components:

 

  • SecureStore Library
    Used for storing user credentials and other important information in the data vault
  • LogonCore Library / LogonCoreJS library
    Used in conjunction with SecureStore library to provide login functionality
  • OData API Library
    Interfaces and default implementation which can be inherited by 3rd parties to create their own implementation
  • OData Online API
    Specific online implementation of the OData API. Internally uses Microsoft OData parser
  • Supportability Library
    Log messages, End 2 End tracing functionality

 

Naturally, the Windows SDK will be evolving in the future!

 

 

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_48.png


Android Apps

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

 

Claudia Pacheco helps you getting started with online/offline and the logon component.

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. We support two ways of doing so, and Claudia describes them in her How-To Guides:

  1. The Mobile Application Framework (MAF) contains the MAF logon component that provides easy integration for applications that use logon UI behavior: check Claudia's How To... Guide and her blog
  2. 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: Claudia has a How To... guide for this as well!


Additional Links

 

 

Webinar: On-boarding & Developing Online and Offline Apps

 

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 soon).

 

  • 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

 

 

 


Viewing all articles
Browse latest Browse all 6147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>