Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

Latest commit

 

History

History
61 lines (40 loc) · 2.74 KB

README.markdown

File metadata and controls

61 lines (40 loc) · 2.74 KB

DataDroid

This project is a development library for the Android platform. The purpose of this library is to ease the data management in an Android application. It is based on the first solution shown in the presentation "Developing RESTful Android applications" that was given at Google I/O 2010.

The repository contains the following folders: * DataDroid: the library. You'll import this library in your project * DataDroidPoC: the demonstration application. This project contains code showing how to use the DataDroid as well as skeleton classes you can fill for your project. You can find the application on the Play Store here

How to use DataDroid in your project

Follow these steps to use the DataDroid library in your project.

If you want to add a database in your project, you can check the ContentProviderCodeGenerator project to help you create the code for it. (More information)

In Eclipse

  1. Clone the DataDroid project on your computer using git (git clone [email protected]:foxykeep/DataDroid.git)
  2. Import the project DataDroid in your Eclipse workspace
  3. Add the library to your project using the Android Library Projects feature in the ADT plugin. More information in the Android documentation website
  4. Copy the skeleton classes from DataDroidPoC and change the code according to your project

In Gradle projects (Android Studio)

  1. Clone the DataDroid project on your computer using git. It is suggested to use the git submodule function to have it inside your repo, because it is easier to reference from Gradle
$ git submodule add [email protected]:foxykeep/DataDroid.git submods/datadroid
  1. Add a reference to the DataDroid project in the settings.gradle file (assuming you have it in submods/datadroid/):
include ':yourApp', ':submods:datadroid:DataDroid'
  1. Add the dependency to your app's build.gradle:
dependencies {
    compile project(':submods:datadroid:DataDroid')
}

Software Requirements

DataDroid has been developed for Android 2.2 and greater.

Credits and License

Foxykeep (http://www.datadroidlib.com)

Licensed under the Beerware License :

You can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.