Use the Voice Notes APIs

by Retired ‎02-16-2010 01:42 PM - edited ‎09-16-2010 03:28 PM (1,198 Views)

Summary

 

This article applies to the BlackBerry® 7520 Wireless Handheld.

 


Description

 

The sample code included with this document provides a demo application showcasing voice notes functionality on the BlackBerry 7520. The code contains the following specifications:

 

  1. How to record an audio file.
  2. How to play an audio file.
  3. How to delete an audio file.
  4. How to stop an audio file (both during play and record).
  5. How to use the AudioFileListener class.
  6. How to process Audio return values.

Note: This implementation is only supported on the BlackBerry 7520 itself. It will not perform the same way in the simulator or on other devices.


Download the source code here.