• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Issue in Excel and CSV downloaded files in Android devices

  • Thread starter Thread starter Android Question
  • Start date Start date
A

Android Question

Guest
Hi,
I am having a web app which generates report in different formats like PDF, html, .csv and .xlsx files. When i download a report in .csv and .xlsx files in my computer I am able to view the data content properly, but when i download in Samsung Galaxy Tablet i see .xlsx or .csv file downloaded but the data is missing i see empty report, only headers are displayed.
I am setting the content type for .xlsx as
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
and for .csv files as response.setContentType("application/binary");

Can anyone please help with this issue?
Thanks

 
Back
Top Bottom