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
Developer
Posts: 226
Registered: ‎10-01-2011
My Device: Passport

Re: Push SDK using low level APIs

[ Edited ]

Is your PIN valid?  It doesn't look like a valid PIN to me.

 

Make sure the device is subscribed to the service.

New Contributor
Posts: 9
Registered: ‎06-12-2012
My Device: 8900
My Carrier: azercell

Re: Push SDK using low level APIs

I take it from here:

 

DeviceInfo.getDeviceId()
Highlighted
Developer
Posts: 226
Registered: ‎10-01-2011
My Device: Passport

Re: Push SDK using low level APIs

All my device ID's are 8 digits.  Try this one which is the id of the simulator 2100000A.

 

Double check your id in your device itself, look in Options, Device, Device and Status Info.  

 

Basically the push is now working but the server doesn't like your PIN.

New Contributor
Posts: 9
Registered: ‎06-12-2012
My Device: 8900
My Carrier: azercell

Re: Push SDK using low level APIs

device ID's are 8 digits in hex.

thanks, now it work.

New Contributor
Posts: 8
Registered: ‎03-30-2010
My Device: BlackBerry Stor 9530
My Carrier: developer

Re: Push SDK using low level APIs

Hi again!

Thanks, crispyoz. I changed target url from https://pushapi.eval.blackberry.com to https://pushapi.eval.blackberry.com/mss/PD_pushRequest and now there are no exceptions and I see "The request has been accepted for processing." in log. But I still can't receive any push messages on my device! BIS is configured and works fine (I checked twitter application. as far as I know it doesn't work if there is no BIS).

 

Thanks in advance

New Contributor
Posts: 9
Registered: ‎06-12-2012
My Device: 8900
My Carrier: azercell

Re: Push SDK using low level APIs

check the onMessage method in the debugger.
New Contributor
Posts: 8
Registered: ‎03-30-2010
My Device: BlackBerry Stor 9530
My Carrier: developer

Re: Push SDK using low level APIs

onMesage isn't invoked...

Developer
Posts: 226
Registered: ‎10-01-2011
My Device: Passport

Re: Push SDK using low level APIs

[ Edited ]

You need to create a new topic, this topic should really be closed because I have solved several issues on this single thread.   Also if I helped you press LIKE button on any of the helpful comments because those of us that contribute our time here move our rankings up if you LIKE our comments or mark our solutions as solving your issue.