Hi , My application has a shared library developed in C.
The native library uses some configuration files (pref.cfg) to read and update it whenever user changes, so that these preferences will be preserved for next application startup. I want to automate this process, that is user just need to install my apk, and he should not bother about all these files. Is there provision in ManifestFile or apk to bundle my configuration files and whenever apk is installed they will be kept in some writable directory ? On browsing I found that /data/data/<my apk>/<my private folder> is writable ? But how can I initially keep my configuration files in this directory ? Thanks for your time -Bytes What is the best way to achieve this... On Nov 16, 4:30 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Mohammad Siddiqui wrote: > > can any one give the code to read and write to a file in the Android > > assets foler > > You can't, at runtime. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > App Widgets Deep Dive Seminar, 27 January 2010:http://bit.ly/deepdive -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en