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 Sybase Unwired Platform 2.2 SP02, Android SDK r21.0.0, ADT Plugin for Eclipse
21.0, and run on an Android 4.0.3 - API Level 15 target emulator. If you use a
different version, some steps may vary.
- Complete
the tasks in Getting Started with Unwired
Platform.
-
Either:
- create
the MBO project by completing
Tutorial: Mobile Business Object Development,
or
- download
and
deploy
the
MBO SUP101 example
project
(complete project files) from the
SAPĀ®
Community
Network: http://scn.sap.com/docs/DOC-8803.
Note: If
you upgrade Sybase Mobile SDK after completing the tutorial, you can convert the
project to the current SDK by importing the earlier project into the Unwired
Workspace and then accepting the confirmation
prompt.
- (Optional) To use as a reference and copy source code when completing this
tutorial, download the Android SUP 101 example project (source code only) from
the SAPĀ® Community Network: http://scn.sap.com/docs/DOC-8803.
- 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.
Navigate to the appropriate version of Sybase Unwired Platform.
Task
Create an Android native
application that communicates with the
mobile
business objects that are deployed to Unwired Server.