A third party app can work as middleware while file accessing by another app in android?


I am new in android development with good at web devlopment and DSA 3rd year Computer science student,
I am currently makeing a android app as an acadminc project file security during send to another app

my idea is for example when an app try to access a media file there is no restrication for that perticular file, so we trying to make an app that will prevent to access for selected media files

here is current situation in which we cannot do nothing for perticular file current bheaviour

here is what i want desired behaviour is this kind of funcationality possible?

we are using kotlin for development

1
Mar 17 at 4:47 PM
User AvatarKAMLESH GURJAR
#android#kotlin

Accepted Answer

Not without altering the OS itself. There's no path for this currently. Of course there generally doesn't need to be- by default files are owned by the app that created them, and accessing them requires that app to actively make them available via a ContentProvider. So the default is no access.

User AvatarGabe Sechan
Mar 17 at 7:22 PM
0