Getting absolute path on android
问题 I've got c++ code in which I try to get a file from a directory on an android device. I've tried different ways to set the path which I pass to the fopen() function like: /Android/data/com.myapp/files/Blip.wav There actually is this file. But I guess that this is not a proper way to write a path. (The example was obtained by the java code ) getContext().getApplicationContext().getFilesDir().getPath() + "/Blip.wav" 回答1: There actually is this file Since I have never seen an Android device with