Re: [android-beginners] IOException with BufferedReader

2009-12-15 Thread Yousuf Syed
Hi, You cannot use the regular java IO for res/raw. folder. only if you are using /sd/card you can use regular java.io here is some code that might help you FileInputStream fin = context.openFileInput("sitestore"); InputStreamReader br = new InputStreamReader(fin); String readS

[android-beginners] IOException with BufferedReader

2009-12-14 Thread kaloer
Hi, I have a problem when I'm trying to read a file from the res/raw folder. When I get the file as an InputStream and try reading it line for line with a BufferedReader, I get an IOException when I'm calling the br.readLine(). I do no get any additional information in the exception. Are there any