Default [APP][4.0+]Trashes 1.2 - Android, Macs, USB and the Trash Folder

So a friend of mine has a Mac and an S2. He does a lot of file transfers back and forth and deleting. Finder, for some reason, puts the files in a hidden folder, but does not actually delete the files.

So I was asked to create something that somewhat automated the process, because he could not for the life of him, find the folder. So I wrote one, and thought I would share it.

Heres the solution. Trashes!

Trashes scans the SD cards for the Trashes hidden folder and deletes it and everything in it.

Devices working:
Samsung Galaxy S III (i747m) - AOKP 4.1.2 (UPDATE I've moved on to AOKP 4.2.1 (same device) and it works fine)
Samsung Galaxy S II (i727r) - CM9
Samsung Galaxy Tab 10.1 (p7500) - Task650 ICS 4.0.4
HTC One S (JellyBam 4.1.2)
Sony Xperia (4.0.4) - Thanks Felimenta97!


If anyone who uses this on another device/rom, could you let me know and I'll update the list accordingly. Also, if there is anything that you feel this app could benefit from, by all means, I'm open to feedback (positive and negative)

ToDo:
One for GB [2.3.x]

Issues:
if theres only the internal sd, it FC's - UPDATE Fixed!

UPDATE 07-Jan-13
Took a little while off from this to work on some other projects.

Code:
Select Code
Changelog

v1.0
initial release

v1.1
rewrote the code from scratch, no more unnecessary code 

added support for phones with the following mount points:
/sdcard/
/extSdCard/
/storage/sdcard0/
/storage/sdcard1/

hopefully worked out the one sd card FC bug (works on the SGT10.1, so I'm gonna say its been figured)
updated download at bottom of the post
v1.2
added support for the following mount point
/mnt/emmc

If it doesn't work on your device, please either send me a PM with the mount points, or a logcat, or stick a reply up here and I'll add them in the next version.
Again, if there's an idea that you think this app could benefit from, by all means, let me know!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-10-27-05-41-47[1].jpg
Views:	573
Size:	23.6 KB
ID:	1434577   Click image for larger version

Name:	Screenshot_2012-10-27-05-41-59[1].jpg
Views:	385
Size:	23.5 KB
ID:	1434578  
Attached Files
File Type: apk Trashes_v1.1.apk - [Click for QR Code] (164.9 KB, 22 views)
File Type: apk Trashes_v1.2.apk - [Click for QR Code] (164.9 KB, 45 views)
Phone - Samsung Galaxy Note 2
ROM - Flavor of the week

Tablet -
Samsung Galaxy Tab 7"
ROM - Overcome 4.0

Samsung Galaxy Tab 10.1"
ROM - Overcome 2.2

OLD PHONES:
Samsung Galaxy S III
Samsung Galaxy S II X
HTC Hero
Moto Milestone
iPhone 3G 8GB