tauseeqafzal
Android Data Recovery Application [Kotlin,Java] - is there any way to read the .trash directory?
Question: Android Developer
→ is there any way to read the .trash directory?
→ we can copy or save the file before delete ?
#android #developer
Most Liked
windzoontechnologies
It was recommended for us to remove the project and re-start, but when I did this, all of my files were gone, and they’re not in the trash either (OSX).
1
saifkhan760
In Android, the .Trash directory is not a standard directory used for storing deleted files. Instead, deleted files are typically moved to the system’s Trash or Recycle Bin, which is managed by the operating system.
1
manevdave
To read the .trash directory in an Android data recovery application, you would need:
-
Root access: Most of the time, accessing hidden directories like
.trashrequires root access to the device, as Android restricts access to certain system directories for security and privacy reasons. -
File permissions: Ensure the app has the appropriate permissions (
READ_EXTERNAL_STORAGEorMANAGE_EXTERNAL_STORAGEfor accessing storage on Android 10 and above). -
App-specific implementation: If the
.trashfolder is created by a specific app, you may need to interact with that app’s internal data structures or use the app’s APIs (if available).
Without root access or specific app APIs, directly reading the .trash folder may not be feasible.
1
Popular Android topics
I am making an app with Nativescript-vue and I would like to have an event where I click on an icon and then a new box appears. For the i...
New
Hi guys, I’m trying to do multi ussd with java on android, I can’t do it.
I looked at the documentation of telephonyManager on android, ...
New
Hi, I’m working on an app who make the conversion between decimal degrees and degrees minutes seconds. I have to make an “Export” button ...
New
Android studio displayed access is denied during gradle build
C:\Program Files\Java\jdk1.8.0_251\native\68d5fa5c4cc2d200863cafc0d521ce42...
New
I’m a developer working as a contractor for a company. I’m finding it confusing on how I should answer these questions? Has Google just b...
New
Hello
I am starting the tearning curve to writing an app for my galaxy phone.
Me and my friens play a lot of “Texas Hold-Em” and, for t...
New
Honest question, do companies still use Java for their new android apps?
I thought everybody was using Kotlin these days.
New
We recently switched some machines to a network that uses ipV6. Those machines are now unable to package our Unreal game for Android, du...
New
There is an Android app. I just want to create two GRAPHS with CPU Runtime and Battery Consumption.
It is as simple as this.
I tried w...
New
I am trying to implement the PIN entry page using device’s TEE. I have acquired the confidential OEM Documentation. It have some C++ code...
New
Other popular topics
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
Create efficient, elegant software tests in pytest, Python's most powerful testing framework.
Brian Okken @brianokken
Edited by Kat...
New
Hi folks,
I don’t know if I saw this here but, here’s a new programming language, called Roc
Reminds me a bit of Elm and thus Haskell. ...
New
Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
If you want a quick and easy way to block any website on your Mac using Little Snitch simply…
File > New Rule:
And select Deny, O...
New
New
This is a very quick guide, you just need to:
Download LM Studio: https://lmstudio.ai/
Click on search
Type DeepSeek, then select the o...
New
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /crystal
- /c-plus-plus
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /centos
- /php
- /zig
- /deepseek
- /scala
- /sublime-text
- /lisp
- /textmate
- /react-native
- /nixos
- /debian
- /agda
- /kubuntu
- /arch-linux
- /deno
- /django
- /ubuntu
- /revery
- /manjaro
- /spring
- /nodejs
- /diversity
- /lua
- /julia
- /c
- /slackware







