Classy Android

Application Development with Android Studio

Download Classy Android project to your PC

Clone the Classy Android Github repository to your PC. In a command window, go to your chosen workspace location and run:

git clone https://github.com/cybersearch2/classy_android.git

Upon completion, the project will be found in the "classy_android" sub directory, from now referred to as the Classy Android "home location".

Import Classy Android into Android Studio

Use File -> Open... and select the Classy Android home location.

If the Quick Start menu is showing, select "Open existing Android Studio Project".

It may take a while to download dependency files to the Android Studio cache, but eventually the project should load. Use Alt+1 to view the Project.

This is a reference to the Git folder created in the first clone step. Select one of the 3 provided options provided to remove this warning.

Running Classyfy Application from Android Studio

You can try the ClassyFy Sample on a device or emulator using ADB. To launch ClassyFy, run the "App" module;

For more details go to ClassyFy Sample

The other modules are Android versions of the Classy Data examples:

Many to Many Sample and Hello Two Dbs Samples

Android Development Technologies

Tool Description
Robolectric Robolectric is a unit test framework that de-fangs the Android SDK jar so you can test-drive the development of your Android app.
gradle Gradle is the primary Android build tool. Classy Data uses wrappers currently set to version 3.2.1
android studio Official IDE for Android application development, based on IntelliJ IDEA

Classy Data Dependencies

Classy Android has a dependency on Classy Data which is resolved using JCenter. Note that this dependency is for classy_data_lib.aar, which is referenced by all the project modules. The Classy Data version is set to a release version deployed to JCenter. For development, you may wish to change this to a locally deployed snapshot version (by editing each module build.gradle file). To install Classy Data, follow the steps in Getting Started

Annotation Processing and Jack

In the gradle build files you will see comments relating to Jack Compiler tool chain and annotation processing with Java 8. However, Jack is now deprecated. Java 8 is a work in progress.