BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-11-2012, 06:55 AM   #1 (permalink)
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
Post Thanks: 1
Thanked 0 Times in 0 Posts
Question BlackBerry Push server

Please Login to Remove!

Hi All,

I am new to Blackberry development.
I want to develop a server, which would send messages to the Blackberry gateway.
I have installed the sample push initiator from the Blackberry Push SDK samples, but i am not able to figure out how it works.

Has anyone written a custom code for push initiator?
How does the push process works?
How the app on the client will register, with the push initiator or Blackberry server?
Please help.

Thanks in advance.
Regards,
Annuk
Offline  
Old 09-11-2012, 07:08 AM   #2 (permalink)
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,530
Post Thanks: 220
Thanked 345 Times in 311 Posts
Default Re: BlackBerry Push server

You need to look in the Developer section of the forum.
__________________
I h8 txtspk.
Offline  
Old 09-11-2012, 07:16 AM   #3 (permalink)
Appleinator
 
Dubdub's Avatar
 
Join Date: Nov 2005
Location: New Hampshire
Model: App5
OS: AJBR549
PIN: Ask
Carrier: ATT & Verizon
Posts: 20,031
Post Thanks: 54
Thanked 782 Times in 742 Posts
Default Re: BlackBerry Push server

Moved to the Developer section.
__________________
-->>BB FAQ

-->>Stinsonddog's Tip Site!

-->>Twitter


If someone helps, tell them by clicking the Thanks button.!!
Offline  
Old 09-11-2012, 12:22 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: BlackBerry Push server

Have a look at this forum post, It helped me quite a bit. Push registration is quite a complex protocol that involves sequenced communications between the client (a BlackBerry Device), the server (your web server) and the push gateway (RIM's server). The client code must send the right data to the gateway and server at the right time, and you server must respond to the gateway and the client in the correct way. All this is needed to ensure security and prevent abuse. Trust me, you really do need to put the effort into understanding the protocol if you want to step outside the box and use your own code. I'm using code I developed starting from the link above, and it still works today.
__________________
My other Blackberry is a PlayBook.
Offline  
The Following 3 Users Say Thank You to hrbuckley For This Useful Post:
annuk (09-26-2012), knottyrope (09-11-2012), rambo47 (09-12-2012)
Old 09-26-2012, 09:30 AM   #5 (permalink)
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
Post Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy Re: BlackBerry Push server

Hey hrbuckley,

Thank you for your reply.
I tried the java equivalent of the code which you directed me too. It worked well for me.
I tried using the Sample App for client provided by Blackberry in the push sdk.
The client was able to successfully subscribe to the service and I was able to send messages to the client.

Now i need to push the notifications by incorporating the blackberry code into my java code.

I integrated the code, but got the following response while sending the notifications:

Invalid Notify URL: a notify URL is provided for a Push Service without a base notify URL.

i am using the notify url as
pushapi.eval.blackberry.com as specified by RIM in the email

and public.ppg.address as
pushapi.eval.blackberry.com/mss/PD_pushRequest.

Where am i going wrong?
Please help.
Thanks in advance.

Regards,
Annuk

Last edited by annuk : 09-26-2012 at 09:35 AM.
Offline  
Old 09-27-2012, 03:26 AM   #6 (permalink)
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
Post Thanks: 1
Thanked 0 Times in 0 Posts
Smile Re: BlackBerry Push server

Hi,

I think I found out the problem.
The issue was the notify url field. Made the notify url null and it worked fine. I am able to send notifications now.

Regards,
Annuk
Offline  
Old 09-27-2012, 07:42 AM   #7 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: BlackBerry Push server

Good for you. It is a bit of a steep curve at first, but once you get one push working the rest will be easy.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 01-03-2013, 12:15 AM   #8 (permalink)
New Member
 
Join Date: Jan 2013
Model: bold
PIN: N/A
Carrier: Claro
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: BlackBerry Push server

Please could you share your java code
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: BlackBerry Push server
Thread Thread Starter Forum Replies Last Post
SQL DB Migration OmahaAdam BES Admin Corner 3 03-15-2012 11:51 AM
BES 5.0 Exchange/Domino final documentation posted illy BES Admin Corner 9 05-12-2009 11:16 AM
Unite! Help Guide Sith_Apprentice BlackBerry Unite 17 12-25-2008 01:08 PM
Initialize problem with BES and GroupeWise dupere BES Admin Corner 2 07-02-2008 02:09 PM
Problem W/ the O2 Theme on 7100i Stress BlackBerry Themes 24 01-31-2006 08:32 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.