Classy Data

ClassyFyClassyFy shows JPA-lite in action

Introduction

Android development has many challenges including targeting a wide range of devices with varying capabilities. Developers aim to create applications which are responsive and reliable. With ClassyFy sample application, you see Classy Data in action and judge for yourself whether it's Java Persistence implementation is suitable for intended use. ClassyFy performs searches of a relational database containing a directory of business records. The data is shaped like a tree structure. ClassyFy has an Action Bar search function which includes search suggestions. Some highlights of ClassyFy are:
  • Lightweight JPA provides fast persistence start up and quick searches
  • Annotations map one-to-one and one-to-many associations
  • Fast Text Search engine backs search suggestions.
  • Support Library version of Action Bar for compatibility
  • Comprehesive testing using Robolectric

Getting Started

This guide assumes you have already followed the steps in Getting Started and Android set up up to "Running Classyfy Sample from Maven".

To test the application, set up the Android Debug Bridge with a connection to your emulator/device. The connection is created automatically when an emulator is started, but a device will require a USB cable or ADB WiFi app if preferred.

You will need to install the apk file on your Android device and launch the app.

ClassyFy is deployed from the module located in Classy_apps sub directory classyfy/classyfy-application. In a command window, go to this directory and use the following command to install the application:
mvn android:deploy
You should now see ClassyFyClassyFy installed as one of the apps on your device. Launch the app and the start page should appear as shown opposite.

classyfy_start

ClassyFy Action Bar

Click on the Action Bar search icon
action_bar

Start typing to see search suggestions in action (below you see 3 records found for search term inf)

search_suggestions