Simple extension to read and fetch data from CSV files.
Blocks
Usage:
CSV Structure
Get total columns and rows
Get column data and row data by index
Get cell value by index and column name
Download
V1. com.thekstudio.CSVReader.aix (12.1 KB)
6 Likes
but why my app can’t read the file because of android 13 or somethings
Store your file in app assets or in ASD
but it don’t show my any data in the button i want to show it say error couldn’t get file
// is used for testing only when i use / also it can’t read data if you gave the solution of this you will save alot of time of mine and great thank you for making this extension
To read the file from assets you dont need to specify full path, just mention file name: ex. Myfile.csv
Thank you so much you have save a lot of my time
How to get another cell value when i click on certain button every time i.e if i click on option A it should show different value in the cell every time like 2,3,4,5,6,7,8
Make sure that you are specifying correct column and row index to get the corresponding cell value.
Or else you can aslo get the cell value by specifying column name and row index for this use second block:
I have use this but every times i get same value when click on any button