Incoming call blocking in android 4.0 -


i want block incoming calls android 4.0 devices.i tried itelephony working upto 2.2.but found apps in market working in ics too.then came know modify phoine state has beed removed , can apply system apps tried older android sdk there kept modify phone state permission in manifest file did not show me error after running app not working in ics. used below code

if (this.checkcallingorselfpermission(manifest.permission.modify_phone_state) == packagemanager.permission_granted) { 

but not going inside if clause in ics permission present in manifest file, suspect is not reading modify_phone_state permission manifest file.

please suggest me

thank in advance


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

node.js - Node - Passport Auth - Authed Post Route hangs on form submission -

Does Firefox offer AppleScript support to get URL of windows? -