Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read voice mails programmatically in Android

Just wonder whether it's possible to access phone's voice mail box using code?

I have seen in Android 4.0, Google has introduce a new content provider called "android.provider.VoicemailContract.Voicemails" but I want to do this on older versions of Android? Is it possible at all ?

like image 700
Kakopappa Avatar asked Apr 11 '12 08:04

Kakopappa


People also ask

How do you check voicemails on Android?

View a list of your voicemails. Open the Phone app . On the bottom, tap Voicemail . If you can't find "Voicemail," call your voicemail instead.

Can you get visual voicemail on Android?

Android 6.0 (Marshmallow) brought an implementation of visual voicemail (VVM) support integrated into the Dialer, allowing compatible Carrier VVM services to hook into the Dialer with minimal configuration. Visual voicemail lets users easily check voicemail without making any phone calls.

How does visual voicemail work on Android?

Visual voicemail is a feature that allows you to choose which voicemails to replay, delete, arrange, or reply to through text or call. It displays a list of your voicemails and organizes them in an email-like interface, complete with the caller ID, phone number, duration, date, and time.


1 Answers

No, because each network operator/phone manufacturer handles voicemail differently. In many cases, there won't even be any app on the phone that knows about individual voice messages. The best you can do is create a PhoneStateListener to listen for LISTEN_MESSAGE_WAITING_INDICATOR, which lets you read the message waiting indicator flag sent by the network operator (answers the question "Are there any new voice messages?").

like image 76
quietmint Avatar answered Oct 22 '22 20:10

quietmint