I agree, the documentation for the this is not quite appropriate.
To retrieve the voicemail number you can try
TelephonyManager.getVoiceMailNumber

http://developer.android.com/reference/android/telephony/TelephonyManager.html#getVoiceMailNumber()

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 16, 11:20 am, Flying Coder <[email protected]> wrote:
> According to the docs, the following should work:
>
> Intent intent = new Intent();
> intent.setAction(Intent.ACTION_DIAL);
> intent.setData(Uri.parse("voicemail:"));
>
> startActivity(intent);
>
> But this just brings up the dialer without a number showing.
>
> Anyone know how to launch the dialer with the voicemail number (or
> otherwise lookup the voicemail number)?
>
> Thanks :-)
>
> Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to