-
-
Notifications
You must be signed in to change notification settings - Fork 582
Android Studio
The core of the development environment for c:geo is Android Studio.
Preparation
Install git. Windows users may want to look here: https://gitforwindows.org/.
Android Studio (or IntelliJ IDEA)
-
Install Android Studio from https://developer.android.com/sdk/index.html.
-
On first start, follow the setup wizard using default options.
-
When asked what project to start with, configure git first (set path to git executable), then choose to clone a project from version control, and choose github afterwards. Enter
https://github.com/cgeo/cgeoas base URL and supply your credentials. If you plan to actively contribute, use the path to your fork of c:geo instead. -
Android Studio should detect that gradle is used for building cgeo. If it complains that this is not a gradle project, then close the project. Choose "Import project" and select the build.gradle or settings.gradle in the root directory of the git repository.
-
Make sure to use JDK 17 in your IDE.
Android Studio will integrate a OpenJDK 21 installation automatically during setup. You have to change the JDK version in the AS settings - Gradle JDK - Download JDK. We suggest to use the "JetBrains Runtime". -
c:geo uses Checkstyle to verify that coding standards are followed throughout the project. To see violations directly in Android Studio you need to install the CheckStyle-IDEA Plugin and configure the Java Code Style by importing the checkstyle.xml file available in the project root directory.
Information
Development
- Join the team
- Development Environment
- GitHub
- Coding conventions
- design conventions
- Working on c:geo for git beginners
- Creating custom Android icons
- Translation
- Release Preparation
- Continuous Integration
- c:geo notifications
- Logging
Usage
- Creating offline maps
- Send a debug log to the developers
- 'New Map' feature description
- Presenting a demo
Technical documentation
- Heading
- Screen densities
- GPS low power mode
- DB Schema
- Map usages
- Disk Usage Structure
- Trackable parsing
- UnifiedMap
Misc
Outdated: