On Fri, Jan 28, 2011 at 4:51 PM, Bruce Xia <[email protected]> wrote: > hi, I have a grammar file which I'd like to package and dump it under / > data/data/[mypackage]/files folder during installation(something like > the windows installation wizard do). Is there an easy way to do it?
It is not possible. Your code does not run at installation time. > I > thought about using raw file resource and read/copy it when > application runs, but don't like it. Sorry, but that is your only option. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

