Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Spring 1.0 Alpha
-
Fix Version/s: 1.1 Beta
-
Component/s: None
-
Labels:None
-
Environment:ICEmobile
Description
Currently the microphone integration has no visual interface and relies on a toggle call from javascript: mobi.microphone starts recording and a subsequent mobi.microphone stops recording. This does not allow additional features such as a level meter, cancel button, or configuration options, so a preferred approach is to implement a similar approach to camera and camcorder where the media is captured from a single javascript call. This will also allow a single button to be used for microphone rather than the current toggle button.
Android interface has been achieved using...
Intent intent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
container.startActivityForResult(intent, recordCode);
Currently this is hooked up through the options menu for testing. It still needs to be hooked into the native JS once the microphone tag has been changed. The old logic has been left in place for now.
SVN Checkin 29023.
Passing this Jira on to Greg for BB implementation.