Added .gitignore file.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added resources and dependencies submodules.

By splitting the resources directory and the libs directory into their
own seperate repos, we can manage the inevitable bloat of each
repository by isolating the bloat by type.

This has tradeoffs, but the point is to be able to download source code
quickly without the need of pulling in dependencies or resources.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added common project files.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added standard Android project files.

The Android Manifest contains the overall structure of the app, declares
device compatibility and defines the necessary permissions to run the
app. The other files are used at build time.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added the database dump file.

To create the actual database, run the following command:

sqlite3 coloring_book.db < coloring-book.sql

An entire dump file is sufficient as there is not much data in the
database. However, if it ever gets huge, consider using change scripts.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added all source files.

ShopActivity's public key is not being committed, so technically, this
makes Coloring Book not fully functional at start up.

Beyond this, the application SHOULD work if a public key is provided.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added source files and updated common project files.

The source files contain almost the entirety of the Coloring Book app.
There are a few things that would need to be implemeneted (or
alternatively, removed) for a clean build. So as of this commit,
the application isn't automatically buildable when the repository is
cloned. This will need to be addressed.

The common project files have been updated to reflect additional
license requirements.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated every file license header to be GPLv2.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated common project files, fixed whitespace issues and added urls.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated license headers for all source files with url.

Added the associated developer URL next to the name.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated submodules (dependencies and resources).

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated gitignore to remove extra files.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added custom_rules.xml for the compile process.

This file has some project-specific customizations for the application
build process at compile time. Specifically, we are ignoring files
from directories that will get packaged into the application. This
includes README and COPYING files from the resource submodule.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added the initial project build.sh script.

The build script prepares a freshly cloned repository for compilation.
There are several custom components the application uses that cannot be
version controlled, because they are specific to the developer(s). This
includes things like public keys tied to a Google account. Thus, the
build script assists developers in getting this sorted out so they can
successfully compile the application.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated custom_rules.xml to match LICENSES.

This will ensure that any file or directory with the name LICENSES will
not be packaged for the compile process.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Added the nuke script.

The nuke script removes content that has not been licensed to other
developers for re-use. The content remains in the repository because it
ensures the application is buildable, but if any other developer wants
to have their own distribution (e.g., via a binary file), the
copyrighted material MUST be removed.

So the nuke script facilitates this.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated various files for v1.0 release.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Updated the application so that it can generate database and all updates

The application will now generate the database on first launch as
opposed to being pregenerated. This will allow for easy updates in the
future via change scripts. Precautions have been taken for all users who
have previously installed the application with the pre-generated
database.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Removed extra variable from NodeDatabase.java

The extra variable was previously used in debug logging for
determining array size for the sql DDL file statements. It is no longer
needed.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>
Removed the hard-coded path to the database.

This path can actually differ on different Android devices. Fortunately,
the application is now using on the fly generation, so a path to the
database is no longer required.

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>