DaveBowman
Lurker
Does anybody know how I can include in my new app's adk file/installation process a few text configuration files containing default app parameters (that can optionally be updated by the user running the app after app installation). I want to automatically include and install (in the directory structure shown below) these few text files along with my Java app and JNI "applibrary.so" which are currently installed via the current apk file.
I need to install the default text files on the sdcard during app installation to a directory structure something like:
/sdcard/myapp.datafiles/datafile1.txt
/sdcard/myapp.datafiles/datafile2.txt
During apk installation, the mechanism I am looking for would create the myapp.datafiles sub-dir under /sdcard and then copy my default datafile1.txt and datafile2.txt in the new /sdcard/myapp.datafiles directory on the /sdcard. Any way to do that?
Currently, I have to use the Eclipse DDMS File Explorer "push a file onto the device" feature to manually install the files:
/sdcard/myapp.datafiles/datafile1.txt
/sdcard/myapp.datafiles/datafile2.txt
and I would like to automate that process as part of apk installation.
Thanks for any help.
I need to install the default text files on the sdcard during app installation to a directory structure something like:
/sdcard/myapp.datafiles/datafile1.txt
/sdcard/myapp.datafiles/datafile2.txt
During apk installation, the mechanism I am looking for would create the myapp.datafiles sub-dir under /sdcard and then copy my default datafile1.txt and datafile2.txt in the new /sdcard/myapp.datafiles directory on the /sdcard. Any way to do that?
Currently, I have to use the Eclipse DDMS File Explorer "push a file onto the device" feature to manually install the files:
/sdcard/myapp.datafiles/datafile1.txt
/sdcard/myapp.datafiles/datafile2.txt
and I would like to automate that process as part of apk installation.
Thanks for any help.