Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { private static boolean isLocalPath(String path) { return !TextUtils.isEmpty(path) && !path.startsWith("http"); } }