android phonegap通知状态栏不显示任何内容

Bad*_*yes 0 android phonegap-plugins cordova

我试图通过使用PhoneGap的插件调用显示在Android模拟器设备的通知味精StatusBarNotification,LINK,我跟着instrucations这个词,但是当我部署我的应用程序没有任何显示在状态栏,

令我困惑的是我不知道在哪里放置我的非语法语法调用,它是:

window.plugins.statusBarNotification.notify("Put your title here", "Put your message here");
Run Code Online (Sandbox Code Playgroud)

我该怎么做才能解决这个问题?

pap*_*tis 5

那这个呢:

<a href="#" onclick='window.plugins.statusBarNotification.notify("Put your title here", "Put your message here");return false;'>Click me!</a>

将此代码放入您的网页.