You could try to implement a select similar mechanism. In such a case you could wait for incoming traffic on a selected socket
You find information on this topic at http://www.developer.com/java/other/article.php/626271 http://www.javaworld.com/javaworld/jw-04-2003/jw-0411-select.html -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 11, 1:26 am, "Jim (sjjh)" <[email protected]> wrote: > There's nothing to stop you forcing the packet data connection to > remain open by sending something like a heartbeat from the server > > That's based on having your own protocol of course > > Cheers, Jim > > On Aug 10, 9:51 pm, Jefftoaster <[email protected]> wrote: > > > Hey all - I'm looking at 3 different apps to develop for the Android, > > but I'm new to the platform (come over from Blackberry - yuck!). > > > Anyhow - I need to know if there is some way to push data to the phone > > from a server. I'd prefer to avoid using SMS to push (user charges), > > or constantly polling the server (lets see, every 5 seconds = 12 times > > a minute, 720 times an hour, over 17000 a day - No way, uh uh) > > > So push technology - anyone? > > > Thanks! > > > Jeff Owens > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

