Prerequisites - Alfresco/alfresco-android-app GitHub Wiki
Steps
Install/Configure Android Studio
Install/Configure Emulators or Android Devices
There's not only one solution to run an Android application. Below you will find 3 different solutions
- Create/Configure an emulator
- Install and Create/Configure GenyMotion emulator
- Configure an Android device
Fork the application in Github
- Fork the Alfresco Android project on GitHub
Import the project into Android Studio
- VCS > Checkout from version control > GitHub
- Repository URL : https://github.com/Alfresco/alfresco-android-app.git
- Clone
Populate Private keys
The build process uses some private keys which are not present inside the source code. The missing keys contain information about
- how we sign the application as defined by Signing Your Application
- private key used for Alfresco Oauth Cloud as explained by Alfresco Cloud Signup
We use global gradle.properties file to import those key as defined in Gradle Build Environment
Below you will find a sample of our global gradle.properties.
RELEASE_STORE_FILE=path/to/your/keystore/
RELEASE_STORE_PASSWORD=password
RELEASE_KEY_ALIAS=alias
RELEASE_KEY_PASSWORD=passowrd
## OAUTH KEYS (only if Alfresco Cloud is required)
OAUTH_API_KEY=key
OAUTH_API_SECRET=secret
OAUTH_CALLBACK=http://www.alfresco.com/mobile-auth-callback.html
OAUTH_SCOPE=public_api