/** Destroys destination - should be executed when the app is uninstalled */ public void destroyReceiver(final String uriStr) { try { final Destination dest = DestinationFactory.getReceiverDestination(URI.create(uriStr)); if (dest != null) { dest.destroy(); } } catch (final Exception e) { alertDialog(e.toString()); } }