Skip to content
Yu Zhiqiang edited this page Jul 7, 2014 · 4 revisions

Wiki - Phimpme Generator

The whole project includes this repo and the Android app. It aims to create a photo sharing app and a generator that can customize it. This repo is the generator part, which is a website where users can customize their own photo app with their own name and own set of functions.

Django Website

Currently the website contains only one page, where users can fill in a form and get their own APK after clicking the submit button.

The way to set up the website is mentioned in README.md of this repo.

Generator Script

In the Phimpme Android app, we modularized each feature as much as possible. We use a set of constants as function switches, and put all of them in Configuration.java. So on the generator side, we could use regular expressions to set the constants into true or false in order to enable or disable functions. The app name is in the strings.xml while the app logo is in drawable folder. The experimental version of generator hasn't support changing package name yet, but we will implement it in the future.

There are several steps for the generator script to generate an APK.

  1. Make a copy of the source code of the app
  2. Change the app name in strings.xml
  3. Change the logo in drawable folder
  4. Modify Configuration.java to enable or disable functions
  5. Compile the project through ./gradlew in the project folder.

Details of building the Android project in command line is available in the wiki of the Phimp.me Android app.

Clone this wiki locally