1 <p> 2 This is a simple sample application that demonstrates how to use voicemail 3 content provider APIs to insert new voicemail records. 4 </p> 5 <p> 6 The application includes 7 <a href="src/com/example/android/voicemail/AddVoicemailActivity.html"> 8 <code>AddVoicemailActivity</code> 9 </a>, 10 an activity that lets the user enter voicemail details and record voicemail audio, 11 which can then be stored with the voicemail content provider by tapping the "Send" 12 button. 13 <p> 14 <img alt="Add voicemail" src="../images/VoicemailProviderDemo.png" 15 width=250px/> 16 </p> 17 18 <p> 19 In the real world, a similar application could download voicemails from a 20 remote voicemail server and store them locally with the voicemail content 21 provider. The platform would then take care of notification and rendering of the 22 voicemails. 23 </p> 24 <p> 25 Following interfaces are of particular interest: 26 <ul> 27 <li> 28 <a href="src/com/example/android/voicemail/common/core/VoicemailProviderHelper.html"> 29 <code>VoicemailProviderHelper</code> 30 </a> and its implementation in 31 <a href="src/com/example/android/voicemail/common/core/VoicemailProviderHelpers.html"> 32 <code>VoicemailProviderHelpers</code> 33 </a>. 34 This interface provides a good demonstration of various fields exposed by voicemail 35 content provider and their usage. 36 </li> 37 <li> 38 <a href="src/com/example/android/voicemail/common/core/Voicemail.html"> 39 <code>Voicemail</code> 40 </a> and its implementation in 41 <a href="src/com/example/android/voicemail/common/core/VoicemailImpl.html"> 42 <code>VoicemailImpl</code> </a>. 43 This interface provides a structured view of most the important fields in 44 voicemail content provider. 45 </li> 46 </ul> 47 </p> 48