2013-03-14 01:32:44 +04:00
|
|
|
|
2013-08-06 13:19:30 +04:00
|
|
|
If you want to start development of ownCloud first download required files, then compile using console or Eclipse, finally create pull request:
|
|
|
|
|
|
|
|
1. Fork and download android/develop repository:
|
|
|
|
|
|
|
|
- Navigate to https://github.com/owncloud/android, click fork.
|
|
|
|
- Clone your new repo: "git clone git@github.com:YOURGITHUBNAME/android.git"
|
|
|
|
- Checkout remote develop branch: "git checkout -b develop remotes/origin/develop"
|
2013-03-14 01:32:44 +04:00
|
|
|
|
2013-08-06 13:19:30 +04:00
|
|
|
2. Building with console:
|
2013-03-14 01:32:44 +04:00
|
|
|
|
|
|
|
- Use setup_env.sh or setup_env.bat
|
2013-08-06 13:19:30 +04:00
|
|
|
- NOTE: You must have mvn, git, ant/bin, android/tools, and 'platforms-tools' in your enviroment path
|
|
|
|
- Now you can create APK using "mvn package"
|
2013-03-14 01:32:44 +04:00
|
|
|
|
2013-08-06 13:19:30 +04:00
|
|
|
3. Building with eclipse:
|
2013-03-14 01:32:44 +04:00
|
|
|
|
2013-08-06 16:42:42 +04:00
|
|
|
- Open Eclipse and create new "Android Project from Existing Code". As root choose *actionbarsherlock/library*
|
|
|
|
- Increase Android API level until project compiles. 14 should work. bin/library.jar needs to be created!
|
|
|
|
- Import OwnCloud Android project.
|
|
|
|
- Increase Android API level to 17.
|
|
|
|
- Clean all projects.
|
2013-08-06 13:19:30 +04:00
|
|
|
- After those actions you should be good to go. HAVE FUN!
|
2013-08-06 16:42:42 +04:00
|
|
|
- TODO: How to build for older devices?
|
2013-08-06 13:19:30 +04:00
|
|
|
|
|
|
|
4. Create pull request:
|
|
|
|
|
|
|
|
- Commit your changes locally: "git commit -a"
|
|
|
|
- Push your changes to your Github repo: "git push"
|
2013-08-06 13:27:07 +04:00
|
|
|
- Browse to https://github.com/YOURGITHUBNAME/android/pulls and issue pull request
|
2013-08-06 13:19:30 +04:00
|
|
|
- Click "Edit" and set "base:develop"
|
|
|
|
- Again, click "Edit" and set "compare:develop"
|
|
|
|
- Enter description and send pull request.
|
2013-03-14 01:32:44 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|