Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
tanphat1412
Posts: 125
Registered: ‎11-06-2012
My Device: BlackBerry
My Carrier: Mobifone

How to read the excel file

Anyone know how to read all the data in excel file (xls, xlsx), to a qvariant map or text file?

 

 Thanks.

Please use plain text.
Developer
Ebscer
Posts: 858
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: How to read the excel file

You can read the file into a string using a standard file stream. Still after this you will find the .xls file type to be very complex.

Read my thoughts on BlackBerry Development at news.ebscer.com
Please use plain text.
Trusted Contributor
Brennan12325
Posts: 204
Registered: ‎05-15-2012
My Device: None
My Carrier: Telus

Re: How to read the excel file

You might be able to find a 3rd party library to parse excel sheets. It isn't very easy from what I've looked into before. I think xlsx is substantially harder to parse than xls...

----------------------
Check out my app, Alien Flow for reddit

And of course, like my post if you found it helpful or informative!
Please use plain text.