I have found several methods to achieve this but none of those seem straight forward and I don\'t understand the code in many of them. I read a little about content resolver, co