Recently, my attention was drawn by some of the Recycle Bin
applications on the play store, and I thought it would be nice to put some of those methods into practice to make other useful applications for people out there, but it seems not quite simple.
According to this Stackoverflow post, it is impossible!
But if you look closely, applications like GT Trash and Dumpster are working like a charm without any root permissions
!
What we exactly want to achieve is overriding the android system File.delete() so the deleted file is moved to our desire location before the user permanently delete it. We tried the Andrey Petrov post witch shows a solution for a similar situation but it is not providing enough details.
We appreciate any help from those who where successful finding out the magic behind these apps.