Here are the blocks showing whats going on.. As you can see the content uri will 'find' the clips location on the device and display the whole path plus file name.
In the list files block you see that it lists all the files in that directory, which is the same as the content uri displays.
Is there a work around for putting the filename in the block? I need to be able to delete the file associated with that entry/uri where ever it is on the device.
Ive tried putting the filename and path with filename hard coded into the blocks and it says it cant find the file. Just like the uri path.
Ive tried just the filename, and tried join path with filename. neither 'locate' the file. Ive verified the file name is correct.
Ive tried on a few different devices and the path is a little different depending on the phone, but it lists the correct path every time. I just need to be able to delete the file when I delete the associated record in the tiny db. (the delete code is in the notify block and is very lengthy, but its a standard delete the entry and clear tag) The above code is just for testing. Once i get it working Ill move it to where it needs to be. Now The code shows the path, with all the files, correctly. but the delete isnt working saying file not found.
This is version 2... Ive tried to chop up the file path to just display the filename only and link that to the delete, with no luck. And now it has the hard coded path and file name, does nothing.. no error nothing. The file still is located in the directory after delete.