6

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 ?

kaiz.net
  • 1,984
  • 3
  • 23
  • 31
Kakopappa
  • 207
  • 2
  • 8

1 Answers1

1

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?").

quietmint
  • 13,885
  • 6
  • 48
  • 73