Skip to Content
Author's profile photo Former Member

End-to-end Mobile Reference Applications – Android


This end-to-end tutorial offers a walkthrough of an Android based Mobile Retailing application for any developer. This application is based on the Enterprise Procurement Model (EPM). This application uses native Java code to send HTTP requests to SAP Mobile Platform cloud server using the HTTP REST APIs. These HTTP requests are used to register the device on the server, request data from the server and send data to the server.

The application uses SDMParser library to parse the OData response. Also it uses SDMPersistence to store the data locally on the device for future use and SDMCache to store the data in the memory while the app is running.

This tutorial guides you through the ready-to-run Mobile Retailing development scenario which includes:

•          Set up of your Development Environment from scratch (Section 1)

•          Setting up the Application on SMP(SAP Mobile Platform, enterprise edition, cloud version) and Gateway services (Section 2)

•          Retrieval of data using SMP from an ABAP backend using OData Services (Section 3)

•          Deploy and run the Mobile Retailing application on an Android device (Section 3)

•          Understanding the important bits of code (Section 4)

The source code of the Android mobile retailing application can be found here

You can find the end-to-end tutorial here

Architecture.png

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi,

      Link to document and resource is missing.

      Regards.

      Author's profile photo Former Member
      Former Member

      Hi Hemal,

      The links are fixed, you can check them.

      regards,

      Ankur

      Author's profile photo Former Member
      Former Member

      Hello Sangita

      As described in the reference application guide, section 3 is supposed to provide the details of data retrieval using SMP from ABAP system with OData services.  Can you confirm if this is what should be referred to Section 2.1.2 Create your own gateway services. SAP Store as the following application for trial version.

      SAP Netweaver app server ABAP 7.4 on SAP MaxDB trial version. However, while creating the account, it prompts for Cloud Provide with only option of Amazon Web Services. Next it is prompting for License key and secret key. Where do we get these keys. Any help is appreciated.

      Thanks

      Snehal Pandya