2
我是Phonegap的新手,我试图使用它录制音频。我接着PhoneGap的API提供的代码,但它抛出以下异常在控制台:PhoneGap尝试录制音频时出错
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});