androniennn
androniennn

Reputation: 3137

Copy an application data folder to external memory

I want to build an application that exports user data of another app. The data are stored on /data/data/"name of the app package" . My main problem is how to retrieve the path of that folder to export/copy it later to external memory. As i know, getFilesDir() returns the path of the directory holding application files, my own application. But what about other applications data ? Thank you.

Upvotes: 0

Views: 456

Answers (1)

Waynn Lue
Waynn Lue

Reputation: 11385

You can't access arbitrary data from other applications, unless they store it in a publicly available place like external storage.

Upvotes: 2

Related Questions