Delete Override onContentChanged method in AccountSelectActivity
[pub/Android/ownCloud.git] / SETUP.md
1
2 If you want to start development of ownCloud first download required files, then compile using console or Eclipse, finally create pull request:
3
4 1. Fork and download android/develop repository:
5
6 - Navigate to https://github.com/owncloud/android, click fork.
7 - Clone your new repo: "git clone git@github.com:YOURGITHUBNAME/android.git"
8 - Checkout remote develop branch: "git checkout -b develop remotes/origin/develop"
9
10 2. Building with console:
11
12 - Use setup_env.sh or setup_env.bat
13 - NOTE: You must have mvn, git, ant/bin, android/tools, and 'platforms-tools' in your enviroment path
14 - Now you can create APK using "mvn package"
15
16 3. Building with eclipse:
17
18 - Open Eclipse and create new "Android Project from Existing Code". As root choose *actionbarsherlock/library*
19 - Increase Android API level until project compiles. 14 should work. bin/library.jar needs to be created!
20 - Import OwnCloud Android project.
21 - Increase Android API level to 17.
22 - Clean all projects.
23 - After those actions you should be good to go. HAVE FUN!
24 - TODO: How to build for older devices?
25
26 4. Create pull request:
27
28 - Commit your changes locally: "git commit -a"
29 - Push your changes to your Github repo: "git push"
30 - Browse to https://github.com/YOURGITHUBNAME/android/pulls and issue pull request
31 - Click "Edit" and set "base:develop"
32 - Again, click "Edit" and set "compare:develop"
33 - Enter description and send pull request.
34
35
36
37