Re: [android-beginners] read flat file from resources

2010-07-29 Thread Nick Richardson
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, Ju

Re: [android-beginners] read flat file from resources

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 6:33 PM, Droid 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) ht

[android-beginners] read flat file from resources

2010-07-29 Thread Droid
I want to read words from a flat text file in res. Is that possible - snippet of code please? Also, can I write to a similar file in resources. Guessing no because of encryption etc. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try