From 3b092f7fb6af605bccd9c9efa19d20436c376670 Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Tue, 11 Jul 2017 17:34:06 +0200 Subject: [PATCH] Delete imagepicker activity --- .../src/android/AndroidManifest.xml | 14 ++--------- .../qml_app/RetroshareImagePicker.java | 23 ------------------- 2 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 retroshare-qml-app/src/android/src/org/retroshare/android/qml_app/RetroshareImagePicker.java diff --git a/retroshare-qml-app/src/android/AndroidManifest.xml b/retroshare-qml-app/src/android/AndroidManifest.xml index 7f7913dd2..c6323fe84 100644 --- a/retroshare-qml-app/src/android/AndroidManifest.xml +++ b/retroshare-qml-app/src/android/AndroidManifest.xml @@ -83,18 +83,6 @@ - - - - - - - - @@ -220,4 +208,6 @@ + + diff --git a/retroshare-qml-app/src/android/src/org/retroshare/android/qml_app/RetroshareImagePicker.java b/retroshare-qml-app/src/android/src/org/retroshare/android/qml_app/RetroshareImagePicker.java deleted file mode 100644 index c2a2c5739..000000000 --- a/retroshare-qml-app/src/android/src/org/retroshare/android/qml_app/RetroshareImagePicker.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.retroshare.android.qml_app; - -/** - * Created by Angesoc on 10/07/17. - */ - -import org.qtproject.qt5.android.bindings.QtActivity; -import android.content.Intent; -import android.provider.MediaStore; -import android.util.Log; - - -public class RetroshareImagePicker extends QtActivity{ - - public static Intent imagePickerIntent() { - - Log.i("RetroshareImagePicker", "imagePickerIntent()"); - - Intent intent = new Intent( Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI ); - intent.setType("image/*"); - return Intent.createChooser(intent, "Select Image"); - } -}