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. ALSA mixers

Hi Sean,

I have a question regarding mixers in android.
Lets say my mixer control name is "MIC RECORDING"

Then how below line changes so that i can use that mixer for setting
the right values.Like if i want to enable the mic using above control.
Then in alsamixer.cpp how the below line changes.

ALSA_PROP(AudioSystem::DEVICE_OUT_EARPIECE, "earpiece", "Earpiece",
"Capture"),

With default control names given in alsamixer.cpp it is not working.

Regards,
anish

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Search @ Market

Numpang nanya ya, pertanyaan newbie.

Apa iya hasil search Market itu beda-beda antar versi, misal antar Donut dan Eclair ? Misal saya cari di Droid Eclair IM+ bisa dapet, tapi coba cari di Donut kok gak dapet ya. thanks -- "Indonesian Android Community [id-android]"

3. Launcher activity

4. i want to control speed "ellipsize=marquee"

5. Problem in switching views

6. Soft keyboard on activity startup

7. How to remove the afterimage of AutoCompleteTextView?