I do not want to use Asynctask to do that, is there any other method to do it? make it more efficient and readable.