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
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