Developing an Android Application

Generate code for the Android platform, develop an Android device application using that code and sample files, and test the application's functionality on an emulator.

Prerequisites
Note: This tutorial was created using SAP Mobile Platform 2.3, Android SDK r21.0.1, ADT Plugin for Eclipse 21.0.0, and run on an Android 4.1.2 - API Level 16 target emulator. If you use a different version, some steps may vary.
  1. Complete the tasks in Getting Started with Mobile Platform.
  2. Either:
    • create the MBO project by completing Tutorial: Mobile Business Object Development, or
    • download and deploy the MBO SMP101 example project (complete project files) from the SAPĀ® Community Network: http://scn.sap.com/docs/DOC-8803.
    Note: If you upgrade SAP Mobile SDK after completing the tutorial, you can convert the project to the current SDK by importing the earlier project into the SAP Mobile WorkSpace and then accepting the confirmation prompt.
  3. (Optional) To use as a reference and copy source code when completing this tutorial, download the Android SMP 101 example project (source code only) from the SAPĀ® Community Network: http://scn.sap.com/docs/DOC-8803.
  4. Download the supported versions of the Android SDK and Android Development Tools (ADT).

    See the Supported Hardware and Software guide at http://sybooks.sybase.com/sybooks/sybooks.xhtml. Select the appropriate version of the SAP Mobile Platform document set.

Task
Create an Android native application that communicates with the mobile business objects that are deployed to SAP Mobile Server.