Broadcast intent for mobile network change
<p>I need to detect when the user has moved to a 3g network or 2G network or is in a no service area. Is there a standard android broadcast intent for that?</p>

<p>Currently im polling following code every minute in a service. </p>

<blockquote>
  <p>TelephonyManager tm=(TelephonyManager)
  getSystemService(TELEPHONY_SERVICE);
  if(tm.getNetworkType()==TelephonyManager.NETWORK_TYPE_EDGE){ }</p>
</blockquote>

<p>But this is not a proper way, and can be bttery hungry. It would be better if it got triggered only by a listener or a brodcast intent.</p>
