From: David A. Velasco Date: Wed, 27 Jun 2012 16:28:42 +0000 (+0200) Subject: Better file opening; new ownCloud logo in account settings page X-Git-Tag: oc-android-1.4.3~330 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/49c1f9e3180099dff1ba1d8880a95314e47480a4?hp=-c Better file opening; new ownCloud logo in account settings page --- 49c1f9e3180099dff1ba1d8880a95314e47480a4 diff --git a/AndroidManifest.xml b/AndroidManifest.xml index fff3a3f9..841ce234 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,7 +18,7 @@ --> + android:versionName="0.1.137B" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/res/layout-land/account_setup.xml b/res/layout-land/account_setup.xml index cdd31723..93f3038a 100644 --- a/res/layout-land/account_setup.xml +++ b/res/layout-land/account_setup.xml @@ -42,7 +42,7 @@ android:layout_height="match_parent" android:layout_margin="7dp" android:layout_weight="1" - android:src="@drawable/logo_inverted" /> + android:src="@drawable/owncloud_logo" /> + android:src="@drawable/owncloud_logo" /> 0) { + i.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); + try { startActivity(i); - } else { + + } catch (ActivityNotFoundException e) { Toast.makeText(getActivity(), "There is no application to handle file " + mFile.getFileName(), Toast.LENGTH_SHORT).show(); } }