Topic
1 reply Latest Post - ‏2013-02-08T00:38:48Z by SystemAdmin
SystemAdmin
SystemAdmin
2327 Posts
ACCEPTED ANSWER

Pinned topic Worklight 5.0.5 record audio failure Nexus 7 OS 4.2.1

‏2013-01-28T13:42:51Z |
Worklight Studio Plug-in 5.05.20121129-1027
Device Nexus 7 OS 4.2.1

Note: Other Android devices have had success.

Have followed the described setting defined by:
http://docs.phonegap.com/en/2.1.0/cordova_media_capture_capture.md.html

and included the following:

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<intent-filter>
<action android:name="android.provider.MediaStore.RECORD_SOUND" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

The Cordova media support will not start, and I find the following in logcat:

01-28 08:39:23.123: D/GersMobile(3026): issw/mobile/base:_loadView: Module(s) loaded
01-28 08:39:23.123: D/GersMobile(3026): issw/mobile/base:_loadView: Instantiating ViewWidget:
01-28 08:39:23.133: D/GersMobile(3026): issw/mobile/ScrollableViewWidget:constructor: object Arguments
01-28 08:39:23.213: D/GersMobile(3026): app.views.voice.VoiceCaptureView:postCreate: object Arguments
01-28 08:39:23.293: D/GersMobile(3026): issw/mobile/base:_loadView: Calling callback()
01-28 08:39:23.293: D/GersMobile(3026): issw/mobile/ViewMixin:moveTo: Starting transition to:
01-28 08:39:23.803: D/GersMobile(3026): app.views.voice.VoiceCaptureView:onAfterTransitionIn: object Arguments
01-28 08:39:23.883: D/DroidGap(3026): Paused the application!
01-28 08:39:23.883: D/CordovaWebView(3026): Handle the pause
01-28 08:39:23.883: D/DroidGap(3026): Resuming the App
01-28 08:39:23.883: D/DroidGap(3026): Paused the application!
01-28 08:39:23.883: D/CordovaWebView(3026): Handle the pause
01-28 08:39:23.883: D/DroidGap(3026): Resuming the App
01-28 08:39:23.963: D/GersMobile(3026): processMessage failed: Message: F09 Capture869267072 {"message":"Canceled.","code":3}
01-28 08:39:23.973: D/GersMobile(3026): processMessage failed: Error: ReferenceError: error is not defined
01-28 08:39:23.983: D/GersMobile(3026): processMessage failed: Stack: ReferenceError: error is not defined
01-28 08:39:23.983: D/GersMobile(3026): at object Object.<anonymous> (file:///data/data/com.GersMobile/files/www/default/app/views/voice/VoiceCaptureView.js:169:47)
01-28 08:39:23.983: D/GersMobile(3026): at Object.fail (file:///data/data/com.GersMobile/files/www/default/dojo/dojo.js:4:149903)
01-28 08:39:23.983: D/GersMobile(3026): at Object.callbackFromNative (file:///data/data/com.GersMobile/files/www/default/wlclient/js/cordova.js:292:43)
01-28 08:39:23.983: D/GersMobile(3026): at processMessage (file:///data/data/com.GersMobile/files/www/default/wlclient/js/cordova.js:1087:21)
01-28 08:39:23.983: D/GersMobile(3026): at Function.processMessages (file:///data/data/com.GersMobile/files/www/default/wlclient/js/cordova.js:1125:17)
01-28 08:39:23.983: D/GersMobile(3026): at pollOnce (file:///data/data/com.GersMobile/files/www/default/wlclient/js/cordova.js:1001:17)
  • SystemAdmin
    SystemAdmin
    2327 Posts
    ACCEPTED ANSWER

    Re: Worklight 5.0.5 record audio failure Nexus 7 OS 4.2.1

    ‏2013-02-08T00:38:48Z  in response to SystemAdmin
    EY69_Michael_Mirt,

    It doesn't look like anyone has been able to reply to your post yet. If you're still having an issue please see the note below.

    Note: IBM forums are in the process of migrating to a new format. During migration the forums will be frozen and in read-only mode. If you wish to continue this thread discussion please post it on stackoverflow, where the Worklight team and others can respond.

    See the Forum Migration announce post for more details. Thank you.

    Barbara Hampson, Manager, IBM Worklight