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
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
Question: Android Developer
→ is there any way to read the .trash directory?
→ we can copy or save the file before delete ?
#android...
New
I need to know how to implement outgoing call in my custom application instead of using default phone call app i need my own app call.
New
Hello! I’m learning Android Jetpack compose development from tutorials and documentation by Android developers. And I ran into a problem…...
New
Is it possible to develop an application that will generate NFC pulses even when the screen is off?
New
Honest question, do companies still use Java for their new android apps?
I thought everybody was using Kotlin these days.
New
Hello everyone, I recently started learning Kotlin and downloaded Android Studio, but after writing my first code and trying to run it, I...
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
Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Hey developers :waving_hand:
I’m currently experimenting with various mobile VPN apps to simulate different network conditions for API t...
New
Other popular topics
Hello Devtalk World!
Please let us know a little about who you are and where you’re from :nerd_face:
New
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
Saw this on TikTok of all places! :lol:
Anyone heard of them before?
Lite:
New
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol:
bre...
New
Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
Author Spotlight
Rebecca Skinner
@RebeccaSkinner
Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
Node.js v22.14.0 has been released.
Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /nixos
- /debian
- /agda
- /django
- /deno
- /kubuntu
- /arch-linux
- /nodejs
- /revery
- /ubuntu
- /spring
- /manjaro
- /diversity
- /lua
- /julia
- /markdown
- /slackware








