0

I would like to receive push messages from a server on most CLDC mobile phones while my application is running in background.

I did it already with SMS but it is costly so I'm thinking about another solution...

I know I can poll my server with HTTP requests. Simple polling should be easy to implement. However, I don't have many updates to send (~5 per hours) but I need them to arrive on the device quickly (~1 minute).

Long polling is great but I think I will have to handle timeouts, disconnects... While with socket I don't have the timeout problem, right?

So,

  • Is there a simple solution/library to implement push ?
  • Does keeping the connection alive has other problems : over-consumption of the battery, operator's firewall restriction... ?

Thanks

Tug
  • 189
  • 10

1 Answers1

0

All the information you need can be found in the BlackBerry Push API documentation.

Richard
  • 8,920
  • 2
  • 18
  • 24
  • Sorry, tag is misleading, I'm not using blackberry API. However this high level API looks great! No equivalent in standard j2me ? – Tug Oct 15 '11 at 00:30
  • No, the BlackBerry push infrastructure is, as far as I know, unique to BlackBerry devices. It is one of the great things about the platform. – Richard Oct 15 '11 at 08:47