Reading from APK file

by Kumar app » Sat, 13 Sep 2008 17:44:49 GMT


Sponsored Links
 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.


-- 
--
Kumar APP
Blog:  http://sparsham.com 
Twitter:  http://twitter.com/thevolts 
Mobile: +91 9243089554

--~--~---------~--~----~------------~-------~--~----~