I am starting a sample Android application and one of the things I need to have are two files stored with the application at install time. At runtime the app should be able to read from and write to those files.
It doesn't seem that much of a task but I've read through various instructions (incl developer.android.com, O'Reilly Learning Android and some similar questions here) and never got the final clue that lead to answer my question.
The files are small enough (100kb) to allow being installed with the .apk file which as far as I understood leads to being stored at data/data/packagename. In order to put the files there during install the simple solution I found was adding the files to the res/raw folder in my Eclipse project. I did so but wasn't able to find the files when I tested the app with the emulator and DDMS.
I am sure there is a major piece of tutorial or information I missed, if so please whack it right into my face. Otherwise I'd appreciate any help you can offer.