The Android client is a generic app that has two parts:
a) A standard configuration file, that sets the details of the app (e.g. color scheme, logo of event, link to JSON app data)
b) This app uses the json api provided by a server maintained here.
Before you begin, you should already have the Android Studio SDK downloaded and set up correctly. You can find a guide on how to do this here: Setting up Android Studio
Download the open-event-android project source. You can do this either by forking and cloning the repository (recommended if you plan on pushing changes) or by downloading it as a ZIP file and extracting it.
Open Android Studio, you will see a Welcome to Android window. Under Quick Start, select Import Project (Eclipse ADT, Gradle, etc.)
Navigate to the directory where you saved the open-event-android project, select the root folder of the project (the folder named "open-event-android"), and hit OK. Android Studio should now begin building the project with Gradle.
Once this process is complete and Android Studio opens, check the Console for any build errors.
Once all build errors have been resolved, you should be all set to build the app and test it.
To Build the app, go to Build>Make Project (or alternatively press the Make Project icon in the toolbar).
If the app was built succesfully, you can test it by running it on either a real device or an emulated one by going to Run>Run 'app' or presing the Run icon in the toolbar.
Configuring Server and Web-App Urls - Browse the project directories and open (with Android Studio): app/src/main/java/org/fossasia/openevent/api/Urls.java
Configuring App Theme / Localizations - The styles.xml files have been configured to allow easy customization of app themes.
You can configure themes by changing various components found in the styles.xml files, found at:
Using Theme Editor:
Translations Editor:
Editing Manually:
We have the following branches
* master
All development goes on in this branch. If you're making a contribution,
you are supposed to make a pull request to master.
PRs to master must pass a build check and a unit-test (app/src/test) check on Travis
* stable
Every few days (after some contributions have come to master), we merge
master to stable. PRs from master -> stable will have to pass a build check,
a unit-test check, AND a instrumentation test (app/src/androidTest) on Travis.
* shipping
This contains shipped code. After significant features/bugfixes are accumulated on stable, we make a version update, and make a release.
All tagged commits on shipping branch will automatically generate a release on Github with a copy of fDroid-debug and GooglePlay-debug apks.
Please read our CODESTYLE carefully. Pull requests that do not match the style will be rejected.
This project is currently licensed under the GNU General Public License v3. A copy of LICENSE.md should be present along with the source code. To obtain the software under a different license, please contact FOSSASIA.
$ claude mcp add open-event-android \
-- python -m otcore.mcp_server <graph>