Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static boolean checkNULL(String url) { return TextUtils.isEmpty(url) || url.equalsIgnoreCase("null"); } }