aclelland wrote:
> I've got a large word list which I want to read into my application
> but I'm having trouble working out where I should put it. I've tried
> in the /res/values/ folder but the compilers wants XML files.
> 
> Could someone tell me which folder to put these text resources into
> and if I should be using
> getResources().openRawResource(ID);
> to load the text file in via an InputStream.

If you want to use openRawResource(), you want to put the file in 
/res/raw/. This directory is not automatically created by 
activityCreator.py when you create the project, so you'll need to add it 
yourself.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: All titles, revisions, & ebook formats, just $35/year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to