[android-developers] Re: How to read a file from res/text folder

2008-09-29 Thread Sudha
Thanks for your help. I made another one. made a folder called raw and placed my file InputStream is = resources.openRawResource(R.raw.text); It worked fine Thanks a lot for your help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: How to read a file from res/text folder

2008-09-29 Thread Raj
You make the file connection by giving file path as parameter. It works same as in java just like below I had read file from the sdcard and store using this type Hope so it will help you File fileCon = new File(); FileOutputStream outputStream = new FileOutputStream(fileCon); outputStream.wri

[android-developers] Re: How to read a file from res/text folder

2008-09-28 Thread hackbod
Uh, there is no such thing as res/text. The currently available resource directories are described here: http://code.google.com/android/devel/resources-i18n.html On Sep 28, 8:41 pm, Sudha <[EMAIL PROTECTED]> wrote: > I have a file in res/text/ > I need to read it. > we use getClass().getResourc