This is a simple sample application that demonstrates how to use voicemail content provider APIs to insert new voicemail records.
The application includes
AddVoicemailActivity
,
an activity that lets the user enter voicemail details and record voicemail audio,
which can then be stored with the voicemail content provider by tapping the "Send"
button.
In the real world, a similar application could download voicemails from a remote voicemail server and store them locally with the voicemail content provider. The platform would then take care of notification and rendering of the voicemails.
Following interfaces are of particular interest:
VoicemailProviderHelper
and its implementation in
VoicemailProviderHelpers
.
This interface provides a good demonstration of various fields exposed by voicemail
content provider and their usage.
Voicemail
and its implementation in
VoicemailImpl
.
This interface provides a structured view of most the important fields in
voicemail content provider.