If you need to write info to a file, you can simply create a new file and write to that instead.
So for example: on first run, read info from your resource and write it to a new file. On every subsequent run, check to see if the new file exists, and read/write your data there instead. On Thu, Jul 29, 2010 at 3:35 PM, Mark Murphy <mmur...@commonsware.com>wrote: > On Thu, Jul 29, 2010 at 6:33 PM, Droid <rod...@gmail.com> wrote: > > I want to read words from a flat text file in res. Is that possible - > > snippet of code please? > > getResources().openRawResource(R.raw.your_file_name) > > > Also, can I write to a similar file in resources. > > No, sorry. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 2.9 Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- //Nick Richardson //richardson.n...@gmail.com -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en