Java Code Examples for org.apache.cordova.CordovaPlugin#onDestroy()

The following examples show how to use org.apache.cordova.CordovaPlugin#onDestroy() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PluginManager.java    From L.TileLayer.Cordova with MIT License 5 votes vote down vote up
/**
 * The final call you receive before your activity is destroyed.
 */
public void onDestroy() {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        if (plugin != null) {
            plugin.onDestroy();
        }
    }
}
 
Example 2
Source File: PluginManager.java    From bluemix-parking-meter with MIT License 5 votes vote down vote up
/**
 * The final call you receive before your activity is destroyed.
 */
public void onDestroy() {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        if (plugin != null) {
            plugin.onDestroy();
        }
    }
}
 
Example 3
Source File: PluginManager.java    From cordova-amazon-fireos with Apache License 2.0 5 votes vote down vote up
/**
   * The final call you receive before your activity is destroyed.
   */
  public void onDestroy() {
      try {
          for (CordovaPlugin plugin : this.pluginMap.values()) {
              Log.d(TAG, "In destroy");
              if (plugin != null) {
                  plugin.onDestroy();
}
          }
      } catch (Exception e) {
          Log.e(TAG, e.getMessage());
      }

  }
 
Example 4
Source File: PluginManager.java    From IoTgo_Android_App with MIT License 4 votes vote down vote up
/**
 * The final call you receive before your activity is destroyed.
 */
public void onDestroy() {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onDestroy();
    }
}
 
Example 5
Source File: PluginManager.java    From reader with MIT License 4 votes vote down vote up
/**
 * The final call you receive before your activity is destroyed.
 */
public void onDestroy() {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onDestroy();
    }
}
 
Example 6
Source File: PluginManager.java    From reader with MIT License 4 votes vote down vote up
/**
 * The final call you receive before your activity is destroyed.
 */
public void onDestroy() {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onDestroy();
    }
}
 
Example 7
Source File: PluginManager.java    From crosswalk-cordova-android with Apache License 2.0 4 votes vote down vote up
/**
 * The final call you receive before your activity is destroyed.
 */
public void onDestroy() {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onDestroy();
    }
}