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

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



Other Threads

1. Can't compile AOSP full_sapphire-userdebug/eng

Hi there,

Up until yesterday I could compile fine the AOSP, but since I updated
the repos this morning, it stops with this error:
there's no rule to build the target "out/target/product/sapphire/obj/
STATIC_LIBRARIES/libboot_board_dream_sapphire_intermediates/
libboot_board_dream_sapphire.a"

Any ideas?

Thanks!

Denzil

-- 

2. App to communicate over the phone USB port



Installing device drivers requires "modifications/additions" to the
device firmware.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 

3. Clicking in an AppWidget

4. App to communicate over the phone USB port

5. Possible to hang help/hint bubbles off views?

6. Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

7. Android developer opportunity, Ottawa, Canada