• 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
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Does Android support push registry?

 
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.
 
Yup, yup, yup. Tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic