04-12-2010 03:37 PM
just worked through the Push Service SDK - was no problem to get the DebugPortal and other Helper Apps running.
But the interesting part of course is the development of own push services - and this isn't easy ![]()
* there's no simple import sample apps into eclipse
(you have to extract jar files, add external jars, add javadoc, ...)
* there's no example for Push Services using BES
* didn't found any description how to test the sample app from eclipse using Simulator,
doesn't work out of the box. ...had expected that I can use the DebugPortal to initiate the push and then follow the client app using simulator and debugger
* sample server app wasn't easy
why not using eclipse wtp to create and run the server web-app ?
The new Push Services are really great - but if it's so hard to start with, some will give up.
I'll try more tomorrow - if there are any more documents or sample client or server apps using the new 5.0 push services - this would be very helpful - thanks in advance - you'll be referenced in my upcoming blog about my experiences using blackberry java 5.0 ![]()
ekke
04-13-2010 11:37 AM
Dear ekke,
I totally agree with you - I'm currently hanging on the registration for a push - just at the beginning.
The forum's nearly dead - my two threads are viewed many times but no one answers and the RIM documents do not help very much...
Do you want to push from a servlet or from another language than java?
Best regards,
Bullety
04-13-2010 11:49 AM
in 2 hours there's a RIM webinar about Push Services (see also my post in java development)
perhaps I'll get some informations ...
Push Service Webinar April 13th
in the customer project I'm working on they had a push service app running from java 5 beta,
but this fails with 5.0 final. (push was done from a GWT application)
so now my task is to implement the new Push Service for BES/Enterprise pushes
pushing from a servlet would be fine
and (for other reasons) i'll also try to make it running in an OSGI server app
if I get something running I'll blog about it
ekke
04-30-2010 01:01 AM
Hi Ekke,
I am also working on push service for BalckBerry and have setup the server-side debug-portal. I have applied for evaluation for the application and haven't received any response from them. Can you tell me when does you recieved appid for the application ?
Do you have any sample code which you can share ? I have gone through the sample app provided by BlackBerry but I think its complex. As per the API we need to implement PushApplication and implements its methods.
Anyways it won't work on simulator so I ll try it on device.
Cheers,
KApil
04-30-2010 03:46 AM
Hi KApil,
after 3 or 4 days I got my registration from RIM.
...at the moment I'm just working on another part of my application and will continue with the Push Service in one week or so.
I'll post my example then as sourcecode
ekke
04-30-2010 05:27 AM
Dear makeurownrules,
it may take one week until you receive your data.
And do not forget you need sign keys in order to test it on your device (because most needed classes are signed).
05-03-2010 04:55 AM
Hi Ekke/Bullety,
Thanks for your reply. I shall wait for couple of days for B'Berry' reply
.
Ekke: It would be really great if you can upload the source code. It would really help people to implement Push easily. If I get the reply from B'Berry then I would love to post the source code here.
Bullety: Thanks for your suggestion, I have signed keys for BlackBerry app and was able to run the app for other functionality on my B'Berry Bold device
. My app uses http and some UI apis for BlackBerry.
Cheers,
Kapil
05-03-2010 05:02 AM
this week I'm at JAX 2010 conference in germany -
next week I'll continue on push services
there are two use-cases: one pushing from a GWT portal app (done by another developer) and a second one from an OSGI Equinox Server app
ekke
05-10-2010 01:02 PM
Hi Ekke,
finally I got the account from blackberry but not able to run properly. I got this exception:
Unauthorized to push to URL: https://pushapi.eval.blackberry.com/mss/PD_pushReq uest with username
Any idea about this exception ?
Cheers,
Kapil
05-10-2010 02:02 PM
Dear makeurownrules,
Do you use custom code where you receive this error or is it the example?
Best regards,
Bullety