Guys here is answer that I have implemented successfully //new async task for file export to csv private class ExportDatabaseCSVTask extends ...
stackoverflow.com