Deleting the Database and Unregistering the Application

Delete the package database, and unregister the application.

  1. To delete the package database, call the generated database's deleteDatabase method.
    SUP101DB.deleteDatabase();
  2. Unregister the application by invoking the Application instance's unregisterApplication method.
    app.unregisterApplication(0);