First of all, I am very much new to Android programming. I have written a program to delete SMS. I have already tested this code in Jelly Bean and it was working fine. Even in simulator with Android Marshmallow is was working fine. Recently I updated my mobile to Marshmallow and now SMS are not getting deleted from the app. Even No error is throw. Below is the code. I search for solution and tried different ways, but still no solution. Same not working in lolipop version..