BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-11-2012, 06:55 AM   #1
annuk
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
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
dc/dc
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,524
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
Dubdub
Appleinator
 
Dubdub's Avatar
 
Join Date: Nov 2005
Location: New Hampshire
Model: App6+
OS: AJBR549
PIN: Ask
Carrier: ATT & Verizon
Posts: 20,038
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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  
Old 09-26-2012, 09:30 AM   #5
annuk
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
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
annuk
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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, 01:15 AM   #8
diegoveloper
New Member
 
Join Date: Jan 2013
Model: bold
PIN: N/A
Carrier: Claro
Posts: 1
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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
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 09:32 AM


Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing picture

Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing

$239.99



NEW OPTICAL LASER PICKUP HEAD for AMIGA CD 32 SYSTEM CONSOLE picture

NEW OPTICAL LASER PICKUP HEAD for AMIGA CD 32 SYSTEM CONSOLE

$31.68



DB23 connectors for soldering. 23-pin D type for Amiga. Male / Female / Hoods picture

DB23 connectors for soldering. 23-pin D type for Amiga. Male / Female / Hoods

$12.32



RADSTONE VME BOARD PME 68-33 MOTOROLA 6800 33Mhz AMIGA PPC picture

RADSTONE VME BOARD PME 68-33 MOTOROLA 6800 33Mhz AMIGA PPC

$185.00



MisTer RTC V1.3 Real Time Clock Board for MisTer FPGA picture

MisTer RTC V1.3 Real Time Clock Board for MisTer FPGA

$15.99



1 piece TS68000CP12 | 12MHz | DIP64 | 68000 | Atari Commodore AMIGA500 A2000 CDT picture

1 piece TS68000CP12 | 12MHz | DIP64 | 68000 | Atari Commodore AMIGA500 A2000 CDT

$15.90







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