Silly Android application for sharing rage faces with other apps
Java Python Shell
Latest commit 6baff96 Oct 14, 2015 @dlew Merge pull request #143 from tasomaniac/master
Turkish translation
Permalink
Failed to load latest commit information.
assets Added launcher SVG (for future reference) Dec 15, 2013
faces 140: Added doge Dec 16, 2013
libs Updated ref to android-utils Dec 5, 2013
project Turkish translation. Oct 14, 2015
scripts Added xxhdpi assets Dec 15, 2013
test
.gitignore Updated gitignore with generated Crashlytics file Dec 5, 2013
.gitmodules Added android-utils submodule Jan 27, 2012
LICENSE Added LICENSE to project Dec 29, 2010
NOTICE Imported Pair class Nov 23, 2011
README.md

README.md

Android Rage Faces

This is the source code for the free Android application "Rage Faces".

Enjoy. Or don't enjoy. Whatever.

Adding Faces

The build process for new faces go along two paths: easy and hard.

Easy Mode

Place your PNG anywhere. Run the add-image.py script, specifying the path to your image and the category to add it to.

python scripts/add-image.py -f /home/username/Desktop/angry_grumpy_cat_good.png -c Angry

-f is the path to the image

-c is the category to add it to. A list of categories is visible at the top of this script.

Bump /project/src/com/idunnolol/ragefaces/data/DatabaseHelper.DB_VERSION. (The project uses this to determine when to reload faces.db from the APK.)

Hard Mode

This version is based off of faces.db, as well as thumbnail drawables. It is a multi-step process:

  1. Gather source PNG faces.

  2. Run them through /scripts/convert.py. It will spit out both JPEG versions (that are shared) and JPEG thumbnails (that are shown in the app itself). Add these to the /project/ directory.

  3. Add new faces to faces.db using /scripts/db-tools.py. Add the improved faces.db to /project/assets/faces.db. (You could add the faces by hand to the db but that's a real pain.)

  4. Bump /project/src/com/idunnolol/ragefaces/data/DatabaseHelper.DB_VERSION. (The project uses this to determine when to reload faces.db from the APK.)