diego-gomez-olvera
fun isUriSupported(context: Context, uri: Uri): Boolean { return !context.packageManager.queryIntentActivities( Intent(Intent.ACTION_VIEW, uri), 0).isEmpty() }