This project contains a Android Studio template to create a basic Kupferwerk Android app.
##Installation
- Clone this repository to the following directory depending on your machine:
MacOS
/Applications/Android Studio.app/Contents/plugins/android/lib/templates/activities/
Windows
C:/Users/<<username>>/AppData/Local/Android/android-studio/plugins/android/lib/templates/activities/
- Restart Android Studio
- Open Android Studio and create a new android project.
- After adding your project information and the targeted android devices you will see the options to add an activity on the next screen.
- Choose the Option "Kupferwerk Base App Template".
- In the next screen you could modify the template. The template generates one activity with the entered parameters. Additionally the following feature could be added:
- Square Dagger for dependency injection
- Square Picasso for imageloading
- Square Retrofit for webservice connection
- GreenRobot Eventbus
- Netflix RxJava for reactive pattern development
- HockeyApp for crash- and updatemanagement.
- Mockito for mocking
- Integration of some Kupferwerk internal libraries. These libraries are hosted in the private Kupferwerk maven repository. You should provide some credentials in this case.
- Start the generation.
This template is added as an Activity-template for Android Studio. This means that it is also possible integrating this template from New -> Activity menu again. Do not execute this template more than once on one project. Since this template will explicitly override some files (e.g. build.gradle, AndroidManifest.xml) without confirmation.