android - How can I reject incoming calls via the ITelephony interface without the CALL_PHONE permission? -


i want programmatically reject incoming call. has been answered in other posts, using itelephony interface. however, solution requires call_phone permission added manifest.

is there way without having call_phone permission in manifest? ending call not involve "making call". when permission in manifest , app installed, user sees permission , message "this may cost money". warning message may scare user , make them uninstall app.

if omit call_phone permission manifest, call rejection not work, incoming call comes through, , no exception thrown.

does have ideas? thank in advance!

no. making change call state requires permission. if found way around it, closed. google has done every other way end call programmatically. need permission.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -