Application to find the ward details of your location
Dagger + MVP + RxJava + RxAndroid + RxPermissions
Maps - Play services version 9.0.0
MapUtils - Default version 0.5+
Location - Play services version 9.0.0 with Fused Location Provider API
Butter Knife - View dependency Injection
Timber - Logging
Glide - Image loading
Localify - For loading offline data from the text content.
-
Download the project or clone this repository.
-
Open Android Studio and choose Open an existing Android Studio Project option
-
Import the project and wait for the gradle sync to complete.
-
To build this project, Create secrets.properties file in the main folder. Please find the screenshot attached for the steps below.
Android Studio: (If project root folder is shown)
- Choose Project mode from the side panel
- Select the Project -> Right Click -> New -> File
Finder Menu: (Incase project is not synced in Android Studio)
-
Open project in the finder.
-
Create secrets.properties in the main folder (i.e below local.properties, app, build, gradle, README.md,etc.
- Open secrets.properties and paste your google map key
- Now rebuild the project (i.e Build -> Rebuild)
Yeah! That's it, your project setup is done.
Note: The project will not compile and build without secrets.dependencies file. For security concerns, this file is not committed to the repository
cd to the current project directory
On Windows:
Type gradlew assembleDebug
and press Enter
On Mac or Linux:
Type ./gradlew assembleDebug
and press Enter
Note: The apk will be inside the path
WhatYourWard/app/build/outputs/apk/debug/
cd to the current project directory
On Windows:
Type gradlew installDebug
and press Enter
On Mac or Linux:
Type ./gradlew installDebug
and press Enter
Note: Emulator or Android device needs to be connected with USB debugging option enabled.