From: masensio Date: Tue, 15 Oct 2013 12:07:59 +0000 (+0200) Subject: Merge branch 'develop' into contact_settings X-Git-Tag: oc-android-1.5.5~159^2~1^2~2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/066cd5aab34344264d2269e6a03785d20226b7e9?hp=b708d46defe3f3596167e9ef9e71c4efacba8d49 Merge branch 'develop' into contact_settings Conflicts: res/values/strings.xml --- diff --git a/.gitignore b/.gitignore index 0105cb34..7a3b8360 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # generated files bin/ gen/ +target/ # Local configuration file (sdk path, etc) local.properties diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 90de1600..9145abad 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,8 +18,8 @@ along with this program. If not, see . --> + android:versionCode="104005" + android:versionName="1.4.5" xmlns:android="http://schemas.android.com/apk/res/android"> @@ -163,7 +163,10 @@ + + + diff --git a/SETUP.md b/SETUP.md index d527d4fe..8c1ebd9a 100644 --- a/SETUP.md +++ b/SETUP.md @@ -1,22 +1,36 @@ - If you want to start development of ownCloud android client you have two way to do so: + 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" - 1. Building with console: + 2. Building with console: - Use setup_env.sh or setup_env.bat - - NOTE: You must have git, ant/bin, android/tools in your enviroment path + - 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" - 2. Building with eclipse: - - - Run ant clean debug - - Open Eclipse and import *actionbarsherlock/library* project to your workspace - - NOTE: You must have 'tools' and 'platforms-tools' in your path in order to run setup_env.sh - - After those actions you should be good to go. - - HAVE FUN! - - + 3. Building with eclipse: + + - 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. + - After those actions you should be good to go. HAVE FUN! + - TODO: How to build for older devices? + + 4. Create pull request: + + - Commit your changes locally: "git commit -a" + - Push your changes to your Github repo: "git push" + - Browse to https://github.com/YOURGITHUBNAME/android/pulls and issue pull request + - Click "Edit" and set "base:develop" + - Again, click "Edit" and set "compare:develop" + - Enter description and send pull request. diff --git a/oc_jb_workaround/.classpath b/oc_jb_workaround/.classpath index 96e9275b..0461652e 100644 --- a/oc_jb_workaround/.classpath +++ b/oc_jb_workaround/.classpath @@ -1,9 +1,9 @@ - - + + diff --git a/oc_jb_workaround/AndroidManifest.xml b/oc_jb_workaround/AndroidManifest.xml index 5ab7d547..cdb77bcd 100644 --- a/oc_jb_workaround/AndroidManifest.xml +++ b/oc_jb_workaround/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="0100007" + android:versionName="1.0.7" > @@ -50,19 +51,38 @@ android:id="@+id/LinearLayout1" android:layout_width="match_parent" android:layout_height="wrap_content" - android:focusable="true" android:gravity="center" android:orientation="vertical" android:padding="8dp" > - + +