Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
982 views
in Technique[技术] by (71.8m points)

database - How to read excel sheets in android program

I have a database of 29 excel sheets which i need to use in my code. I converted those ecxel sheets in .xml format using ms excel so that i can use xmlparser to fetch data from it in my program. But the converted files i got have a very strange format and i am having trouble in reading that file and how will i write parser for it. Can any one suggest how can i use these excel sheets in my project.

give me any simple example for this small table so that i can use it for whole sheet

Aging_Bucket_Key Aging_Bucket_Type Aging_Bucket_Code Aging_Bucket_Desc
1 Inventory 0 - 30 Days 0 - 30 Days
2 Inventory 31 - 60 Days 31 - 60 Days
3 Inventory 61 - 90 Days 61 - 90 Days
4 Inventory More than 90 Days More than 90 Days
5 Backlog 0 - 30 Days 0 - 30 Days

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

i think you should download http://jexcelapi.sourceforge.net/ library and try to implement it. this library provide read data of excel in android.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...