Is there a way to determine if an Android phone supports Voicemail integration in the call log?

My application uses the VoicemailContract functionality available in API 14 and above to insert voicemail messages into the phone call log. However, some phones seem to have disabled this functionality even in API versions higher than 14. Samsung Galaxy Note 2 is a great example of this. So, when a new VM message is inserted into the database, it will not appear in the call log (but this works fine on most other phones). Thus, it seems that Samsung somehow disabled this functionality on this phone, and I would like it to be detected at runtime, so that I can hide this option in the settings of my application if it is not available.

+8
android voicemail
source share
1 answer

Did you try to check the status?

http://developer.android.com/reference/android/provider/VoicemailContract.Status.html

Vendors can actually implement almost anything they want on their phones (which is very annoying Android development), but I think that the status should be set to what is β€œwrong” on phones that will ignore your api calls.

+3
source share

All Articles