【发布时间】:2012-08-01 13:59:55
【问题描述】:
我使用 Java pns 来推送我的应用程序, 我就是这样使用它的:
public static PushedNotifications Push(String token,String message,String Sound,int badge) throws CommunicationException, KeystoreException{
String key=PushUtil.class.getResource("cert.p12").getPath();
PushedNotifications pn= Push.combined(message, badge, Sound, key, "Pass", true, token);
System.out.println("pn: "+pn);
return pn;
}
有没有办法发送通知金额以增加徽章而不是 只是设置?
【问题讨论】:
标签: java iphone push-notification