From: grecep Date: Wed, 29 Oct 2014 21:29:38 +0000 (+0100) Subject: Merge pull request #669 from grecep/master X-Git-Tag: oc-android-1.7.0_signed~125 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/fd7a940deefe91a8e547d99a2054370510b68090?hp=8d29b6318ccae2384834cff48a90d4dcf925562d Merge pull request #669 from grecep/master Add "select all" option to photo (or other) upload screen --- diff --git a/.travis.yml b/.travis.yml index d205021d..50b73d1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,20 @@ -language: java +language: android +android: + components: + - build-tools-20.0.0 + - android-19 + - android-17 + - android-14 + - extra-android-support + licenses: + - 'android-sdk-license-5be876d5' + - 'android-sdk-license-598b93a6' + jdk: oraclejdk7 + before_install: - # Install base Android SDK - - sudo apt-get update -qq - - sudo apt-get install -qq libstdc++6:i386 lib32z1 expect - - export COMPONENTS="build-tools-20.0.0,android-14,android-17,android-19,sysimg-19,extra-android-support" - - export LICENSES="android-sdk-license-5be876d5|android-sdk-license-598b93a6" - - curl -3L https://raw.github.com/embarkmobile/android-sdk-installer/version-2/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS --accept=$LICENSES - - source ~/.android-sdk-installer/env - - rm pom.xml - - ./setup_env.sh + - rm pom.xml + - ./setup_env.sh script: - ant clean diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 5a86dcf5..a5990afd 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,8 +18,8 @@ along with this program. If not, see . --> + android:versionCode="10600100" + android:versionName="1.6.1" xmlns:android="http://schemas.android.com/apk/res/android"> @@ -156,7 +156,6 @@ - @@ -186,10 +185,14 @@ + + + android:name=".ui.activity.MoveActivity" + android:label="@string/app_name"/> diff --git a/SETUP.md b/SETUP.md index a9650644..39539038 100644 --- a/SETUP.md +++ b/SETUP.md @@ -1,10 +1,14 @@ -If you want to start help developing ownCloud please follow the [contribution guidelines][0] and observe these instructions: - -### 1. Fork and download android/develop repository: +If you want to start help developing ownCloud please follow the [contribution guidelines][0] and observe these instructions. -NOTE: You must have git in your environment path variable to perform the next operations. +If you have any problems, start again with 1) and work your way down. If something still does not work as described here, please open a new issue describing exactly what you did, what happened, and what should have happened. +### 1) Fork and download android/develop repository: + +NOTE: Android SDK with platforms 8, 14 and 19 (and maybe others) need to be installed. + You must have the Android SDK 'tools/', and 'platforms-tools/' folders in your environment path variable. + "git" need to be installed and in your environment path variable. + * Navigate to https://github.com/owncloud/android, click fork. * Clone your new repo: "git clone git@github.com:YOURGITHUBNAME/android.git" * Move to the project folder with "cd android" @@ -14,16 +18,16 @@ NOTE: You must have git in your environment path variable to perform the next op * Make sure to get the latest changes from official android/develop branch: "git pull upstream develop" * Complete the setup of project properties and resolve pending dependencies running "setup_env.bat" or "./setup_env.sh" . -At this point you can continue using different tools to build the project. Section 2, 3 and 4 describe some of the existing alternatives. +At this point you can continue using different tools to build the project. Sections 2a), 2b), and 2c) describe some of the existing alternatives. -### 2. Building with Ant: +### 2a) Building with Ant: NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in your environment path variable. * Run "ant clean" . * Run "ant debug" to generate a debuggable version of the ownCloud app. -### 3. Building with console/maven: +### 2b) Building with console/maven: NOTE: You must have mvn (version >= 3.1.1) in your environment path. Current Android 'platforms-tools' need to be installed. @@ -39,7 +43,7 @@ Download/install Android plugin for Maven, install owncloud-android-library, the Now you can create ownCloud APK using "mvn package" -### 4. Building with Eclipse: +### 2c) Building with Eclipse: NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in your environment path variable. @@ -47,11 +51,12 @@ NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in * Open Eclipse and create new "Android Project from Existing Code". Choose android/actionbarsherlock/library as root. * Clean project and compile. * If any error appear, check the project properties; in the 'Android' section, API Level should be greater or equal than 14. +* If "error loading libz.so.1" appears, try "sudo apt-get install lib32z1" * Make sure android/actionbarsherlock/library/bin/library.jar was created. -* Create a new "Android Project from Existing Code". Choose android/owncloud-android-library as root. +* Create a new "Android Project from Existing Code". Choose android/owncloud-android-library as root. (test and sample clients are not required.) * Clean project and compile. * If any error appear, check the project properties; in the 'Android' section, API Level should be 19 or greater. -* Make sure android/owncloud-android-library/bin/classes.jar was created. +* Make sure 'android/owncloud-android-library/bin/owncloud android library.jar' was created. * Import ownCloud Android project. * Clean project and compile. * If any error appears, check the project properties of owncloud-android project; in the 'Android' section: @@ -61,7 +66,7 @@ NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in NOTE: Even though API level is set to 19, APK also runs on older devices because in AndroidManifest.xml minSdkVersion is set to 8. -### 5. Create pull request: +### 3) Create pull request: NOTE: You must sign the [Contributor Agreement][1] before your changes can be accepted! @@ -72,7 +77,7 @@ NOTE: You must sign the [Contributor Agreement][1] before your changes can be ac * Again, click "Edit" and set "compare:develop" * Enter description and send pull request. -### 6. Create another pull request: +### 4) Create another pull request: To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/develop. diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index d85eb899..6df2e9aa 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -60,4 +60,12 @@ The third party software included and used by this project is: A binary JAR file must be generated from this linked project and included in the ownCloud client APK. See http://http://actionbarsherlock.com/ + + * TouchImageView, commit 6dbeac4f11936185ba374c73144ac431c23c9aab + Copyright (c) 2012 Michael Ortiz + Licensed under MIT License + JAR file libs/touch-image-view.jar has been generated by ownCloud Inc., including without + modifications com.ortiz.touch.ExtendedViewPager and com.ortiz.touch.TouchImageView classes. + See https://github.com/MikeOrtiz/TouchImageView + \ No newline at end of file diff --git a/libs/disklrucache-2.0.2.jar b/libs/disklrucache-2.0.2.jar new file mode 100644 index 00000000..ca7907d0 Binary files /dev/null and b/libs/disklrucache-2.0.2.jar differ diff --git a/libs/touch-image-view.jar b/libs/touch-image-view.jar new file mode 100644 index 00000000..539f6151 Binary files /dev/null and b/libs/touch-image-view.jar differ diff --git a/lint.xml b/lint.xml deleted file mode 100644 index ee0eead5..00000000 --- a/lint.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/oc_jb_workaround/AndroidManifest.xml b/oc_jb_workaround/AndroidManifest.xml index 9fa39b30..ada508ca 100644 --- a/oc_jb_workaround/AndroidManifest.xml +++ b/oc_jb_workaround/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="0100019" + android:versionName="1.0.19" > 1.5.1-SNAPSHOT 1.6 - 4.4.2_r2 + 4.4.2_r3 19 4.2.0 @@ -28,7 +28,30 @@ - + + + touch-image-view.jar + touch-image-view.jar + 1.0 + system + ${basedir}/libs/touch-image-view.jar + + + + + + + android-support-v4.jar + android-support-v4.jar + 1.0 + system + ${basedir}/third_party/android-support-library/android-support-v4.jar + + android android diff --git a/res/drawable-hdpi/folder_public.png b/res/drawable-hdpi/folder_public.png index 00f71c21..337aba94 100644 Binary files a/res/drawable-hdpi/folder_public.png and b/res/drawable-hdpi/folder_public.png differ diff --git a/res/drawable-hdpi/sharedlink.png b/res/drawable-hdpi/sharedlink.png index 071c622a..a3c42a95 100644 Binary files a/res/drawable-hdpi/sharedlink.png and b/res/drawable-hdpi/sharedlink.png differ diff --git a/res/drawable-mdpi/folder_public.png b/res/drawable-mdpi/folder_public.png index bffdace7..374cf918 100644 Binary files a/res/drawable-mdpi/folder_public.png and b/res/drawable-mdpi/folder_public.png differ diff --git a/res/drawable-mdpi/sharedlink.png b/res/drawable-mdpi/sharedlink.png index 95ab1803..772838ad 100644 Binary files a/res/drawable-mdpi/sharedlink.png and b/res/drawable-mdpi/sharedlink.png differ diff --git a/res/drawable-xhdpi/sharedlink.png b/res/drawable-xhdpi/sharedlink.png index f474b48a..9ef8f3e3 100644 Binary files a/res/drawable-xhdpi/sharedlink.png and b/res/drawable-xhdpi/sharedlink.png differ diff --git a/res/layout/file_download_fragment.xml b/res/layout/file_download_fragment.xml index f8818471..8f571dc7 100644 --- a/res/layout/file_download_fragment.xml +++ b/res/layout/file_download_fragment.xml @@ -16,6 +16,7 @@ along with this program. If not, see . --> + + + + + + +