[android-developers] Re: read csv file

2009-08-09 Thread Jack Ha
Try something like this: InputStream is = this.getResources().openRawResource (R.raw.csv_file); BufferedReader reader = new BufferedReader(new InputStreamReader (is)); try { String line; while ((line = reader.readLine()) != null) { // do something with

[android-developers] Re: read csv file

2009-08-08 Thread Saurav Mukherjee
a csv file is treated as a normal text file by a linux system. so jus read it as u read a text file in android. On Sat, Aug 8, 2009 at 10:16 PM, Honest honestsucc...@gmail.com wrote: Hello, I want to read csv file from res. Can some one tell me how can i read it ?

[android-developers] Re: read csv file

2009-08-08 Thread Jack Ha
Try getResources().getXML() -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 8, 9:46 am,