'How to open csv file in Android
I am new to Android. I've created a .csv file in SD card. Now I want to open this file but unable to do this.
Please help me on how to open a .csv file.
Solution 1:[1]
You can open a .csv file like you would any text file. In order to read it, look for some examples in java - like Parse CSV File using StringTokenizer example
Solution 2:[2]
This could parse a csv file
Solution 3:[3]
I posted some example code here: How to parse the CSV file in android application?
You would obviously have to change it slightly to access a file on the sdcard and not in the assets folder.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Rajath |
| Solution 2 | Jana |
| Solution 3 | Community |
