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
crispyoz
Posts: 223
Registered: ‎10-01-2011
My Device: Bold 9900

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.

Please use plain text.
New Contributor
zeronimo
Posts: 9
Registered: ‎06-12-2012
My Device: 8900

Re: Push SDK using low level APIs

I take it from here:

 

DeviceInfo.getDeviceId()
Please use plain text.
Developer
crispyoz
Posts: 223
Registered: ‎10-01-2011
My Device: Bold 9900

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.

Please use plain text.
New Contributor
zeronimo
Posts: 9
Registered: ‎06-12-2012
My Device: 8900

Re: Push SDK using low level APIs

device ID's are 8 digits in hex.

thanks, now it work.

Please use plain text.
New Contributor
valera
Posts: 8
Registered: ‎03-30-2010
My Device: BlackBerry Stor 9530

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

Please use plain text.
New Contributor
zeronimo
Posts: 9
Registered: ‎06-12-2012
My Device: 8900

Re: Push SDK using low level APIs

check the onMessage method in the debugger.
Please use plain text.
New Contributor
valera
Posts: 8
Registered: ‎03-30-2010
My Device: BlackBerry Stor 9530

Re: Push SDK using low level APIs

onMesage isn't invoked...

Please use plain text.
Developer
crispyoz
Posts: 223
Registered: ‎10-01-2011
My Device: Bold 9900

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.

Please use plain text.