// Only process the URI if it contains data. If the user pressed the desktop icon after the app was already running the URI will be null.
if (intentUriData != null) {
// Only process the URI if it contains data. If the user pressed the desktop icon after the app was already running the URI will be null.
if (intentUriData != null) {