この質問は非常に似ていると理解しています: Android での getDir と getFilesDir の違いは何ですか?
しかし、ファイルを個人データに保存したいだけの場合、何を使用すればよいかまだわかりません。
ディレクトリの場合は、単に使用する必要がありますdata/data/com.test.myapp
か? それは私のアプリケーションにプライベートになりますか?
// Gets the absolute path to the filesystem directory where your internal files are saved.
getFilesDir()
// Creates (or opens an existing) directory within your internal storage space.
getDir()
getExternalFilesDir()
また、いくつかのコモンズウェア オープン ソース プロジェクトを読んでみましたが、Android が内部ストレージ (非 SD カード) を特定の API の後に「外部」ストレージと呼んでいないため、全体についてさらに混乱していると思います。レベル?