Skip to content

能否给个测试代码。 #1

@arist1213

Description

@arist1213

你好,我是个新手,对java和android开发不清楚,你的插件我通过cordova下载后,不知道如何才能成功调用,下面是我写的测试代码,可惜运行不成功。

document.addEventListener('deviceready', onDeviceReady, false);
function onDeviceReady() {
Voice("http://xxx.com/tmp_file_1413872716.amr",
function(){alert("played finished.");},
function(errcode){alert(errocode);},
function(){}
);
}
可不可以写个测试代码,求指教,谢谢了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions