We have built an Android application which is used to collect data (for volleyball stats). This application creates a data file which we ultimately want to be transferred to desktop computers (Windows PCs and Macintoshes).
We currently write the data out as a simple character stream in the default application directory (data/data/appname/files) and specify MODE_WORLD_READABLE when we create each of these data files.
The problem is that even though the data files are MODE_WORLD_READABLE, the various utilities which we would like to use to transfer the data cannot see the data files. I assume that the problem is that they may have read access to the files, but they do not have read access to the directories in which the files are stored. Specifically, I am unable to browse to the files using the ES File Explorer app on the Android device and I am unable to browse to the files when I connect my Android device to the PC or Macintosh as a USB device.
Is my only solution to write files to the external directories, or is there something I am missing here about using MODE_WORLD_READABLE with application directories?