How can we generate the Extent Report from appium?

I want the report after each testing as html or any format. So how can we do it with the built in Extent Report api ? It can be done by TestNG in Eclipse but i want it done in appium … i am using Java and Intelliz Idea as an IDE.

bro, did u get the solution ?
i have just moved into appium automation, and i have one more doubt regarding logs. help me how you achieved it