Documentation for CultureMesh Android¶
This is the developer documentation for the Android app for CultureMesh. This app remains in development, so this documentation is geared toward developers, not end users.
This documentation and the source code for the app were created by Stanford University’s Code the Change for CultureMesh.
Getting the Latest Code¶
Clone the GitHub repository to your local machine:
$ git clone https://github.com/DrewGregory/CultureMeshAndroid
Switch to your desired branch. This will probably be either
master, which holds the most recent release, or
develop, which holds the current development version. For example:
$ git checkout master
For security reasons, some information is missing from the code repository:
CultureMesh API Key: Stored in
Credentials.javafile must be created with the key in a public field
Fabric API Key and Secret: Stored in
app/fabric.properties. See template below for the structure:
apiSecret=<API Secret> apiKey=<API Key>
<API Key>with the appropriate values.
Running the App¶
Open the root of the repository in
Android Studio. Let
Android Studio index the repository, and let Gradle install dependencies.
Then run the app by clicking the play
button in the upper right. You may have to disable
in order to successfully use
Fabric with the API key in