From 77da0c6b5d3d6925c8018c1eb57fb26d102a937d Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 21 Apr 2014 19:51:03 +0200 Subject: [PATCH] allow images to be opened with gallary app --- AndroidManifest.xml | 5 + res/layout/message_recieved.xml | 10 +- res/values/strings.xml | 3 +- .../persistance/DatabaseBackend.java | 34 ++++++- .../persistance/FileBackend.java | 3 +- .../conversations/services/ImageProvider.java | 97 +++++++++++++++++++ .../ui/ConversationFragment.java | 14 ++- 7 files changed, 161 insertions(+), 5 deletions(-) create mode 100644 src/eu/siacs/conversations/services/ImageProvider.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ed81167a3..c7f564bc8 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -23,6 +23,11 @@ android:theme="@android:style/Theme.Holo.Light" > + + diff --git a/res/layout/message_recieved.xml b/res/layout/message_recieved.xml index f4f34232b..9893ef23c 100644 --- a/res/layout/message_recieved.xml +++ b/res/layout/message_recieved.xml @@ -38,7 +38,15 @@ android:autoLink="web" android:textIsSelectable="true" android:textColor="#333333" - android:textSize="16sp" /> + android:textSize="16sp"/> + +