title: Register and Unregister the BroadcastReceiver in Application Class
body: <p>I have a broadcast receiver Which is registered in the onCreate() method of Android Applcation class but How to unRegister the same</p>
  
  <p>example</p>
  
  <pre><code>public class MyApplication extends Application {
  
  
  @Override
  public void onCreate() {
      super.onCreate();
      registerReceiver(broadcastReceiver, new IntentFilter("TIMEZONE_CHANGED"));
  }
  </code></pre>
  
  <p>In the above code I have registered it in  the application onCreate() method and there is no onDestroy() / onStop() method in the Application class to unregister the broadcastReceiver.</p>
  
  <p>How to achieve it </p>