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.
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
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |