02-18-2013 05:37 AM
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???
Solved! Go to Solution.
02-19-2013 09:09 AM
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/pl
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/documentatio
And, the Javadoc is here:
http://www.blackberry.com/developers/docs/PushServ
http://www.blackberry.com/developers/docs/PushServ
Let me know if you have any questions.
Thanks,
Matt
02-20-2013 04:00 AM
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
02-20-2013 08:29 AM
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