我是 Phonegap 的新手,我正在尝试使用它录制音频。我遵循了 PhoneGap API 给出的代码,但它在控制台中抛出了以下异常:
04-19 08:59:55.934: E/Web Console(4197): TypeError: Result of expression
'navigator.device' [undefined] is not an object.
at file:///android_asset/www/index.html:31
code at line 31 is navigator.device.capture.captureVideo(captureSuccess, captureError, {limit: 2});