From 80348dd0747b2b874e1cc1e0da60e082b624fd12 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Wed, 23 Apr 2014 00:18:39 +0100 Subject: [PATCH] quick fix for importing draw tools, etc files - text/* works so much better than file/* it should probably be passed through from the javascript side though... --- mobile/src/com/cradle/iitc_mobile/IITC_FileManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/com/cradle/iitc_mobile/IITC_FileManager.java b/mobile/src/com/cradle/iitc_mobile/IITC_FileManager.java index 3b3476b1..639f7021 100644 --- a/mobile/src/com/cradle/iitc_mobile/IITC_FileManager.java +++ b/mobile/src/com/cradle/iitc_mobile/IITC_FileManager.java @@ -334,7 +334,7 @@ public class IITC_FileManager { // create the chooser Intent final Intent target = new Intent(Intent.ACTION_GET_CONTENT) - .setType("file/*") + .setType("text/*") .addCategory(Intent.CATEGORY_OPENABLE); final IITC_Mobile iitc = (IITC_Mobile) mActivity;