Java tutorial
//package com.java2s; import android.net.Uri; public class Main { private static boolean isEncrypt(String url) { int ret = 0; try { Uri uri = Uri.parse(url); ret = Integer.parseInt(uri.getQueryParameter("isEncrypted")); } catch (Exception e) { e.printStackTrace(); } return ret == 1; } }