How to get call logs

hy … any budy work on mobile device call log how to check/get call type (incomin or outgoing) , call duration
any friend work on this type of module please share link or views …

Thanks …:grinning: