【发布时间】:2014-04-15 12:01:02
【问题描述】:
我正在使用for loop 向多个设备发送推送通知,但现在我需要发送批量推送通知,这意味着我需要同时发送到多个设备
请注意,我找到了一个适用于 android 的设备,但我仍然需要 iPhone、blackberry 和 windows phone 的批量推送通知(没有使用设备表的循环),我使用 C# or vb.net
我用的iphone:
var payload1 =new NotificationPayload();
SyncLock lockThis
If szPinCode <> "" AndAlso szPinCode <> "" Then
Dim BBPushRequest As New HttpBBPushRequest(szPinCode, szMessage, szId, Me)
BBPushRequest.Url = general.fnGetConfig("PUSH_URL")
BBPushRequest.ApplicationID = general.fnGetConfig("PUSH_APPLICATIONID")
BBPushRequest.UserName = general.fnGetConfig("PUSH_USERNAME")
BBPushRequest.UserPassword = general.fnGetConfig("PUSH_USERPASSWORD")
Dim clientThread As New Thread(AddressOf BBPushRequest.Run)
clientThread.Start()
fnIncrementCounter()
bResult = True
End If
结束同步锁定
但这并不需要一个设备阵列,只是一个设备..
【问题讨论】:
-
你用什么来推送黑莓?
-
@PeterStrange 我更新了我的问题
标签: ios windows-phone-7 blackberry push-notification apple-push-notifications