07-14-2010 08:51 AM
you can push a "get data here" message and your application can download all the kilobytes you need from there.
push and pull are not exclusive.
07-14-2010 08:52 AM - edited 07-14-2010 08:53 AM
Yep, but this is not a problem. Just send a message with a 'wakeup, there is data for you" content and then you can connect and pick up as much as you like!
Edit: SNAP! I see Simon is a touch faster on his trigger!
07-14-2010 09:02 AM
oh you two are smart
im in the weird position of working on an internal app for techs but w/o having access to the BES server we use. so im not sure i can push through there. yet all our data is internal so the communication is all through the bes, connecting to internal site, etc.
The idea would be to automatically update the techs with the new data on the server when it gets there by pushing, instead of having them poll for changes every x min/hours. Then there is the idea of trying to sync 2 dozen local sqlites w/a server, but thats a whole different thing.
07-14-2010 09:04 AM
you can use bis-push, but there are also other options, like an email listener.
we use email signaling in many apps (mainly developed prior to bis push, but also much easier)
07-14-2010 10:34 AM
since most of the communication is through XML, i created an alternate communication system that sends/receives the requests/responses through email if they cant use the BES (apparently our organization has a strange problem that RIM cant figure out re: intranet access [403: forbidden]). its just really slow and limits how much data i can send back to the device.
07-15-2010 02:58 AM
I have just opened socket connection and its input stream to listen for data(confused push or pull ???)
Does this main reason to drain battery or i have to implement socket other way round to listen to incoming messages???
08-05-2010 10:37 AM - edited 08-05-2010 10:38 AM
thnks for response...
can you please any example or link to push example coz i was not able to find anything..
does this push is anyways related to Blackberry PUSh APIs (might be dumb que)