• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Does Android support push registry?  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys!

Does Android support push registry?
 
Author
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a "push registry"?
 
Yifei Huang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
like push registry in J2ME which enables apps to set themselves up to be launched automatically, without user initiation. Activations could be inbound connections like: message-based (such as SMS), stream-based (such as TCP socket) or packet-based (such as datagrams).
 
Mark L. Murphy
Author
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are called broadcast Intents in Android. Your application registers a BroadcastReceiver, either in the manifest XML or in Java, and will get control when the events occur.
 
Yifei Huang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot!
btw: do they buffer incoming data?
 
Mark L. Murphy
Author
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's more that they are system events, not network events. So, you can wake up on an SMS, or a low-battery condition, or getting near some GPS-based location. Networking, however, is not handled this way -- more like JavaSE than JavaME.
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!