Android Intent Check isCommonIntentUrl(String url)

Here you can find the source of isCommonIntentUrl(String url)

Description

is Common Intent Url

License

Open Source License

Declaration

public static boolean isCommonIntentUrl(String url) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isCommonIntentUrl(String url) {
        return url.startsWith("tel:") || url.startsWith("voicemail:")
                || url.startsWith("sms:") || url.startsWith("mailto:")
                || url.startsWith("geo:")
                || url.startsWith("google.streetview:");
    }//from   ww w . ja  va 2s. c o  m
}

Related

  1. isIntentAvailable(Context context, String action)
  2. isDownloadsDocument(Uri uri)
  3. isExternalStorageDocument(Uri uri)
  4. isMediaDocument(Uri uri)
  5. isCallable(Context c, Intent intent)
  6. isIntentAvailable(final Context context, final String action)
  7. isIntentUrl(String url)
  8. isPlayMarketIntentUrl(String url)
  9. isIntentAvailable(Context context, String action)