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

Java Development

Reply
Developer
patilajayr
Posts: 404
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Device registration?

Hello friends,

                        i am doing module of push notification. for that first i have to register with device to server. how i store device id to server? than when server want to send notification to perticular device server will send notification to that device how i do that?

                       Please help me friends

thanks

Please use plain text.
Developer
simon_hain
Posts: 15,929
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Device registration?

did you read the developer guide on this topic? if not, do so.

how you store the device id is your descision, maybe a mysql database, mainly depends on what you use as a server. in any case, not a topic for this forum.

to send the notification to the device you send the PAP request to the RIM server which distributes it to the device, at least if you want to use BIS push.
For BES push you send the pap or mds push request to the MDS.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
patilajayr
Posts: 404
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Re: Device registration?

still i didnt clear. i am using bis push. what should i do for that? i didnt clear how shoud i regiester? how i will store my device id on server than when server came to know abt update he will idetify me  and send update. app id is unique? pls clear my query.

Please use plain text.
Developer
simon_hain
Posts: 15,929
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Device registration?

totally up to you, as you control the server...
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
patilajayr
Posts: 404
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Re: Device registration?

ya i know. but how i get the device id? what is code for that? than i will send to the server. after that. next step will start.

that please clear me. 

       first i want to pair to pair connection with the device to server than i will send notification to the perticular device.

please help me. it is very urgent.

 

thanks and regards,

Please use plain text.
Developer
simon_hain
Posts: 15,929
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Device registration?

well, now that you have decided on a question, here is the answer:
Integer.toHexString(DeviceInfo.getDeviceId()).toUpperCase();
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
patilajayr
Posts: 404
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Re: Device registration?

Hello,

          thanks for reply. i clear many thing. now just tell me my device id and app id where should i store? on BIS i have to store the that device id and and all sufix? 

         any one give me proper steps to how we register with server and show we send push notifcation from server to device?

thanks and regards 

    ajay patil.

Please use plain text.