Xflnemesys / gwt-phonegap

Automatically exported from code.google.com/p/gwt-phonegap
0 stars 0 forks source link

Reading HTML file As Null #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All,

I am making an application for iphone using phonegap, in that i am reading html 
file as text but for some files it's giving null result although  Data is 
present there 

Original issue reported on code.google.com by saurabh_...@infosys.com on 21 Jan 2012 at 4:42

GoogleCodeExporter commented 9 years ago
I am not really getting what your problem is..

Are you using the file API and having problems?

If you are looking for advice on how to solve your problems I would suggest 
posting on the user group: https://groups.google.com/forum/#!forum/mgwt

Original comment by kurka.da...@gmail.com on 21 Jan 2012 at 4:45

GoogleCodeExporter commented 9 years ago
Thanks for the reply ..

Actually I am using readAsText(file) API for reading the Data I am providing 
the absolute path but it's giving me evt.target.result as null. The same code 
works fine with other files 

Original comment by saurabh_...@infosys.com on 21 Jan 2012 at 4:51

GoogleCodeExporter commented 9 years ago
Check what is the error returned by the reader. You can add a callback to get 
notified if reader could not access the file.

Original comment by grz3gorz...@gmail.com on 27 Jan 2012 at 7:32

GoogleCodeExporter commented 9 years ago

Original comment by katharin...@gmail.com on 4 Feb 2012 at 5:54