something confusing is happening here:
At the beginning i wrote this code on the criminal Intent version in which i write the challenges segments, and this code did not work, later i wrote it again on the regular project and it worked.
maybe there is a problem with the manifest uses premission (which i added in Challenge 15 ) which i am not aware about ?
this is the exception which was showen:
help will be much appreciated