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. Is there a way to refer to a group of attributes

-- 

2. How can I get the current rotation of my mobile using g-sensor and compass?

Hi!
Is there some example-code to get the current rotation of my cellphone
using g-sensor and compass at the same time?
With the Google-Sky application for example, you can watch EVERY star
on your mobile. You can turn your mobile in 360 degrees in x-, y-, and
z-direction.

I want to get the rotation of my cellphone but I do not understand
much of the g-sensor and compass api. Can somebody help me, give me an
example-code or better, if possible, a class which tells me the actual
rotation?

THANK YOU!!! :-)
Martin

3. Find out if the user rated my application in the Market

4. Poll Accelerometers instead of using a listener?

5. how to make two apks install at the same place

6. HashMap, ArrayList and fastest way to iterate Collections on Android (+other ways to make it run like a wild horse)

7. Android Pirate Site