public class WebkitProxy
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
getRequestQueue(android.content.Context ctx) |
static java.net.Socket |
getSocket(android.content.Context context) |
static java.net.Socket |
getSocket(android.content.Context context,
java.lang.String proxyHost,
int proxyPort) |
static android.app.AlertDialog |
initOrbot(android.app.Activity activity,
java.lang.CharSequence stringTitle,
java.lang.CharSequence stringMessage,
java.lang.CharSequence stringButtonYes,
java.lang.CharSequence stringButtonNo,
java.lang.CharSequence stringDesiredBarcodeFormats) |
static boolean |
resetKitKatProxy(java.lang.String appClass,
android.content.Context appContext) |
static boolean |
resetLollipopProxy(java.lang.String appClass,
android.content.Context appContext) |
static boolean |
resetProxy(java.lang.String appClass,
android.content.Context ctx) |
static boolean |
setProxy(java.lang.String appClass,
android.content.Context ctx,
android.webkit.WebView wView,
java.lang.String host,
int port) |
public static boolean setProxy(java.lang.String appClass,
android.content.Context ctx,
android.webkit.WebView wView,
java.lang.String host,
int port)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean resetKitKatProxy(java.lang.String appClass,
android.content.Context appContext)
public static boolean resetLollipopProxy(java.lang.String appClass,
android.content.Context appContext)
public static boolean resetProxy(java.lang.String appClass,
android.content.Context ctx)
throws java.lang.Exception
java.lang.Exception@Nullable
public static java.lang.Object getRequestQueue(android.content.Context ctx)
throws java.lang.Exception
java.lang.Exceptionpublic static java.net.Socket getSocket(android.content.Context context,
java.lang.String proxyHost,
int proxyPort)
throws java.io.IOException
java.io.IOExceptionpublic static java.net.Socket getSocket(android.content.Context context)
throws java.io.IOException
java.io.IOException@Nullable
public static android.app.AlertDialog initOrbot(android.app.Activity activity,
java.lang.CharSequence stringTitle,
java.lang.CharSequence stringMessage,
java.lang.CharSequence stringButtonYes,
java.lang.CharSequence stringButtonNo,
java.lang.CharSequence stringDesiredBarcodeFormats)