-
Notifications
You must be signed in to change notification settings - Fork 2
Home
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.
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.
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.
- Make a copy of the source code of the app
- Change the app name in strings.xml
- Change the logo in drawable folder
- Modify Configuration.java to enable or disable functions
- 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.