/**
   * This API packing the 'disConnect()' and 'removeAllNetwork()', Application used for preparing to
   * connect.
   *
   * @return
   */
  public void prepareToConnect() {
    mWifiManager.disconnect();
    mWifiManager.removeAllNetwork();

    return;
  }
 /**
  * Remove all networks from the list of configured networks.
  *
  * @return Return true if the operation succeeded.
  */
 public boolean removeAllNetwork() {
   return mWifiManager.removeAllNetwork();
 }