Generate code for the Android platform, develop an Android device
application with that code and sample files, and test the application's functionality on an
emulator.
Prerequisites
Install Sybase Unwired Platform Mobile SDK and Runtime as indicated in Getting Started.
Complete Tutorial: Mobile Business Object Development, which provides the foundation tasks for this tutorial.
Task
Create
a device application that communicates with the database mobile business objects that
are deployed to Unwired Server.
Installing ADT in Unwired WorkSpace
Install the supported version of Android Development Tools (ADT) in the Sybase Unwired WorkSpace Eclipse environment.
Generating Java Object API Code
Use the Generate Code wizard to generate object API code for the SUP101 mobile application project. The code generation creates the business logic, attributes, and operations for the mobile business objects in the project.
Creating the Android Project
Create a new Android SUP101Sample project in Unwired WorkSpace. You add library resources and set other application properties.
Creating the User Interface
Copy sample files from the ZIP archive to the SUP101Sample application. The files provide the functionality and layout of the user interface.
Creating a Launch Configuration for the Project
Create and define a new launch configuration for the SUP101Sample project. The configuration defines how the application will launch and the target Android platform.