This document provides an overview of the GoInfoGame Android project, including its structure, key components, and instructions for setting up the development environment.
The project is organized as follows:
app/: Contains the main application code.src/main/java/: Contains the Java/Kotlin source files.src/main/res/: Contains the resource files (layouts, strings, images, etc.).src/main/AndroidManifest.xml: The Android manifest file.
build.gradle: The Gradle build file for the project.README.md: Project documentation.
- WorkSpaceActivity: The activity that handles environment selection, user login and workspace list
- MainActivity: The main activity that displays maps.
- MainMapFragment: A fragment that handles the map and component like quests and geometry.
- QuestPinsManager : Manages the quest pins on the map.
- QuestTypeRegistry : Manages the quest types that should be displayed on the map.
- GIGOsmConnection: Handles network requests and responses to the workspace osm server.
- WorkspaceApiService: Ktor service that handles the workspace api requests.
- Install Android Studio: Download and install the latest version of Android Studio from the official website.
- Clone the Repository: Clone the project repository from GitHub.
git clone git@github.com:TaskarCenterAtUW/GoInfoGame-Android.git
- Open the Project: Open the cloned project in Android Studio.
- Sync Gradle: Allow Android Studio to sync the Gradle files and download the necessary dependencies.
- Run the Project: Use the
Runbutton in Android Studio to build and run the project on an emulator or a physical device.
- Generate APK: Build the APK using the following command:
./gradlew assembleDebug
- Upload to Play Store: Follow the instructions on the Google Play Console to upload the APK.