Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
Regular Contributor
key_key
Posts: 59
Registered: ‎01-17-2011
My Device: 8520
My Carrier: Vodafone

push notification require server side code

Hello,

 

i am writing an applciation with push notification. but how to i write code at server side for sending push request.

i got PHP code on the forum..

but i want to a JAVA code for writing a server for sending a push request..

 

please help me!!!

Please use plain text.
Developer
massimo_olive
Posts: 235
Registered: ‎11-08-2010
My Device: Not Specified

Re: push notification require server side code

Did you download the Push Service SDK - it's Java that helps you write your server side code very easily.
Please use plain text.
Regular Contributor
key_key
Posts: 59
Registered: ‎01-17-2011
My Device: 8520
My Carrier: Vodafone

Re: push notification require server side code

thanks for reply,,

push SDK is not working.. but i have been wrote an server side code in PHP, it will work fine..

now, a new problem arise in client side code..

how to user base URL and port for get notification...

you have any client side code for getting oush notification in my application..

 

 

Help !!!!!!!

 

 

Please use plain text.
New Contributor
umeshanant
Posts: 4
Registered: ‎04-06-2011
My Device: 9800
My Carrier: Vodafone

Re: push notification require server side code

Hi,

 

Did u get some sample code on java?

 

Please let me know.

 

Thanks.

Please use plain text.
Developer
nrupayshah
Posts: 107
Registered: ‎03-27-2010
My Device: 8320
My Carrier: hutch

Re: push notification require server side code

HI Key_Key,

 

I have client code for blackberry push recieve and i am searching for server code in php which you have.

 

We both can help each other and resolve our problem.

 

Can you please give me your working PHP script for push notification?

 

I will give you the client code by which you can recieve the push notification on your device.

 

Thanks & Regards

 Nrupay Shah

Please use plain text.
New Contributor
krishnakantgupta
Posts: 2
Registered: ‎01-14-2011
My Device: 4.5

Re: push notification require server side code

Hi, Nrupay shah,
Did your problem solved...
if not then let me know..

Please use plain text.
Developer
nrupayshah
Posts: 107
Registered: ‎03-27-2010
My Device: 8320
My Carrier: hutch

Re: push notification require server side code

Hi krishnakantgupta,

 

Thanks for your support. But i had resolved that one.

 

Thanks & Regards

  Nrupay Shah

Please use plain text.
New Developer
rincethomas33
Posts: 39
Registered: ‎12-31-2010
My Device: 9800
My Carrier: Airtel

Re: push notification require server side code

will you post the code ?.

R33
Please use plain text.
New Contributor
bbb9780
Posts: 3
Registered: ‎11-10-2011
My Device: Bold 9780
My Carrier: Airtel

Re: push notification require server side code

Hi Krishna,

 

I would appreciate if you can please let me know the following details which you have used in your PHP code

BlackBerry Enterprise Server Name/IP Address:     
BlackBerry MDS Connection Service Push Port:     
Push Recipient's Email Address:     
Push URL (file to be pushed):     
Push Type:

 

If you will provide the appropirate details then it would help me in accomplish my task.

 

Look forward to hear from you.

 

Please use plain text.
Regular Contributor
key_key
Posts: 59
Registered: ‎01-17-2011
My Device: 8520
My Carrier: Vodafone

Re: push notification require server side code

[ Edited ]

Hello ,

 

Use this Urls. Then you got a form, please fill it with all required detail.

and submit it..

 

https://www.blackberry.com/profile/?eventId=8121


after sunmition this form you got a email on given email address.

This Email contains all the inforamtion related to Push Service..

Such as..

 

App Id,

Port number:

Base Url:

etc....

 

 

 

Please use plain text.