List of usage examples for android.webkit WebView getOriginalUrl
@ViewDebug.ExportedProperty(category = "webview") public String getOriginalUrl()
From source file:com.android.browser.DownloadTouchIcon.java
public DownloadTouchIcon(Tab tab, ContentResolver cr, WebView view) { mTab = tab;// w ww . ja va 2 s.c om mContentResolver = cr; // Store these in case they change. mOriginalUrl = view.getOriginalUrl(); mUrl = view.getUrl(); mUserAgent = view.getSettings().getUserAgentString(); }
From source file:com.android.erowser.DownloadTouchIcon.java
public DownloadTouchIcon(ErowserActivity activity, ContentResolver cr, Cursor c, WebView view) { mActivity = activity;/*from w w w . jav a 2 s . com*/ mContentResolver = cr; mCursor = c; // Store these in case they change. mOriginalUrl = view.getOriginalUrl(); mUrl = view.getUrl(); mUserAgent = view.getSettings().getUserAgentString(); }
From source file:com.android.browser.kai.DownloadTouchIcon.java
public DownloadTouchIcon(BrowserActivity activity, ContentResolver cr, Cursor c, WebView view) { mActivity = activity;//from w ww .j av a 2s . com mContentResolver = cr; mCursor = c; // Store these in case they change. mOriginalUrl = view.getOriginalUrl(); mUrl = view.getUrl(); mUserAgent = view.getSettings().getUserAgentString(); }
From source file:com.android.xbrowser.DownloadTouchIcon.java
/** * Use this ctor to store the touch icon in the bookmarks database for * the originalUrl so we take account of redirects. Used when the user * bookmarks a page from outside the bookmarks activity. */// w w w .j av a2 s. c o m public DownloadTouchIcon(Tab tab, Context ctx, ContentResolver cr, WebView view) { mTab = tab; mContext = ctx.getApplicationContext(); mContentResolver = cr; // Store these in case they change. mOriginalUrl = view.getOriginalUrl(); mUrl = view.getUrl(); mUserAgent = view.getSettings().getUserAgentString(); }