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
New Contributor
aarondev
Posts: 6
Registered: ‎02-07-2013
My Device: bb10
My Carrier: bb10
Accepted Solution

android ported apps

hii

 

i had implemented the client side of my android app using apk2bar command tool , i include the android.cfg and put the application id and the ppg url according to the mail i recieved regestring the bis push service.

 

now my question is how the server side works?? how to send messages?? how to recieve tokens??

iam a mobile developer and i hve implemented push service for ios,android,bada,windows platforms and all of them had the same logic, but in blackberry it's different .

please help me resolve this issue.

how to implement server side for android ported apps???

Please use plain text.
BlackBerry Development Advisor (Retired)
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10
My Carrier: Rogers

Re: android ported apps

Hi,

 

To build your Push Initiator (server-side application that will send pushes) you can use the Push Service SDK provided here:

http://developer.blackberry.com/devzone/develop/platform_services/push_overview.html

 

There are two sample Push Initiators that you can try out (if you go with the Distribution+Tomcat install option) to see if your Android app can successfully receive pushes.

 

The developer guide for the SDK can be found here:

https://developer.blackberry.com/java/documentation/push_service_sdk.html

 

And, the Javadoc is here:

http://www.blackberry.com/developers/docs/PushServiceSDK1.2/LowLevelAPI/

http://www.blackberry.com/developers/docs/PushServiceSDK1.2/HighLevelAPI/

 

Let me know if you have any questions.

 

Thanks,

 

Matt

Please use plain text.
New Contributor
aarondev
Posts: 6
Registered: ‎02-07-2013
My Device: bb10
My Carrier: bb10

Re: android ported apps

hii matt,

thank you for you reply, but when i use the simulator for testing the app and start the push initiator it gives me error that there is no subscribers is available,

and i have another question , our company builds over ~100 apps per day and push initiator is enabled only for one app id, what iam trying to do is sending push per appid with my own ui .

thank you

Please use plain text.
BlackBerry Development Advisor (Retired)
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10
My Carrier: Rogers

Re: android ported apps

Hi,

 

Push is not supported as of now on the simulator, so you will have to use a real BlackBerry device for your testing to install your Android app on.

 

You can push to multiple apps from one Push Initiator, but each push-enabled application on the device itself will have to have its own application ID associated with it.  

 

Thanks,

 

Matt

Please use plain text.