Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の機能を実装する必要があります。オーディオ mp3 ファイルをルート (または別の場所) に保存し、それを取得して添付ファイルのように電子メールで送信したいと考えています。次のような出力ファイルを設定しました。
recorder.setOutputFile(getFilesDir().getPath() + fileName + ".mp3");
しかし、それを元に戻す方法や、単に見る方法さえわかりません。私を手伝ってくれますか?
File dir = new File(path); String[] files = dir.list();
path = ストレージのパス。