May I know, is there a way to view file using content URI in MiXplorer? (sorry if it's a silly question)
Just like I wrote above, if the file is in a content URI format then until it is opened manually in ImageViewer, no copy or move functions will work in Tasker & MiXplorer. Copying and other operations are a success in case of file paths (idk about the content URI as idk the way to open them in MiX). As far as I know, I gave Tasker access to all permissions and it can operate in the desired destination of copying the image.
Let me explain you my whole process of what I'm trying to achieve which would be better for both of us. I am using Imgur API to upload images in Tasker by AutoShare-ing (Plugin; populates variables with the
file paths/content URI/links). It's working when I try to use the
file path/links but that's not the case with
content URIs. The issue is that Tasker is unable to access all content provider but if I use MiXplorer content provider (
URI) of that original content URI (
OC URI in short) Tasker is able operate actions without any errors. So, I thought of replacing the
content://
with
content://com.mixplorer.file/24!
in the OC URI to obtain the
MiX URI.
OC URI:
content://com.laurencedawson.reddit_sync.pro.provider/external_files/Android/data/com.laurencedawson.reddit_sync.pro/cache/shared/124f1f01935749881f64374bf9a82e99.jpg
MiX URI:
content://com.mixplorer.file/24!com.laurencedawson.reddit_sync.pro.provider/external_files/Android/data/com.laurencedawson.reddit_sync.pro/cache/shared/124f1f01935749881f64374bf9a82e99.jpg
Then using the MiX URI in either
Copy To.. or
ImageViewer Activities but to my surprise, it doesn't function (infinite copying progress & blank image display) until shared
manually and opened in ImageViewer (tested in Bromite, Mull Browser, Sync for reddit) even though file is created (specifically for Sync for Reddit) in Android/data/com.package_name/cache/shared/ABC.jpg. Also, I can't use the file path because if the file is in the Android then Tasker can't access it, so preferred MiX URI to temporarily copy the file > Upload to imgur > Delete the temp file.
So, I enabled logging to see where the error actually occurs after sending the intent to open in ImageViewer.
- First Log, when I shared to AutoShare to send intent; unsuccessful.
- Second Log, when shared to ImageViewer manually; successful.
- Third Log, when shared to AutoShare to send intent after it was opened; successful.
Thank you for bearing with me until this point.