Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - Java Programming


Tutorial: Building an Android application

This tutorial guides you through the development of an application for Android smartphones using the UltraLiteJ API and the Eclipse environment. In this tutorial, you run the application on a Windows simulator.

The Android application used in this tutorial is located in the %SQLANYSAMP12%\UltraLiteJ\Android\CustDB\ directory. The application code, located in the src\com\sybase\custdb directory, references the UltraLiteJ API to perform the following tasks:

  • UltraLite remote database creation.

  • SQL operations on the database.

  • Data synchronization with the SQL Anywhere CustDB sample database using MobiLink.

The res\menu and res\layout directories illustrate how to create Android menu items and interfaces. You can view these files through Eclipse when you create the new Android project.

 Required software
 Competencies and experience
 See also

Lesson 1: Setting up a new Android project
Lesson 2: Starting the MobiLink server
Lesson 3: Running your Android application
Lesson 4: Testing your Android application and synchronizing
Cleaning up