Android Question Answer call library : SDK 15= functioned and SDK 26 = not functioned (Android 5.1)

BILLMEYER-

Runtimepermission with using Android 8 are correct. On the forum I have read that Answercall is not useful for some phones.

The question is -
Answercall library is functioned on Android 5.1. with SDK=15, why Answercall is not functioned on the same phone with using SDK=26.

You mean that I must set permission for Android 5.1. phone? Permission is possible to set for SDK>=23...

p4ppc
 
Last edited:
Upvote 0
EREL,

I have tested it now more detailed and I can answer now, that I can not see errors.
I am ussing answer call library. I am using SDk=26 and SDK=27 and Answercall is not functioned
and
If I am using SDK 15, then Answercall is functioned.

I am testing all on one phone.
Thank you
p4ppc
 
Upvote 0
I am using SDk=26 and SDK=27 and Answercall is not functioned
There must be something in the log. Check also the unfiltered log.
 
Upvote 0
DonManfred, Erel, thank you for your answer

in unfiltered LOG I see:
silenseRinger not supported
SecurityException: Neither user 10228 nor current process has android.permission.MODIFY_PHONE_STATE

but I am using (I know that phone SDK is <=23) in Activity_Create this:
Code: Copy
rp.PERMISSION_READ_PHONE_STATE
"android.permission.MODIFY_PHONE_STATE"
in code and in Manifest I have it declared too.

I get positive reults of READ phone state
and
negative result ON MODIFY phone state check.

but its Android 5.1, target SDK 27, min SDK=5, I am using SDK = 27
with SDK=15 is everything OK = I can answer the call

Thank you
p4ppc
 
Last edited:
Upvote 0
Back
Top