get Data From Return Url via WebView - Android User Interface

Android examples for User Interface:WebView URL

Description

get Data From Return Url via WebView

Demo Code


import android.webkit.WebView;

public class Main{
    public static String getDataFromReturnUrl(String paramString) {
        paramString = paramString.replace("wtjs://return/", "").split("/",
                2);/*from w  w  w . j  av a 2 s.  c o  m*/
        if ((paramString != null) && (paramString.length >= 2))
            return paramString[1];
        return null;
    }
}

Related Tutorials