• Home
  • Raw
  • Download

Lines Matching refs:WebView

27 <p>In Android 4.4 (API level 19), the {@link android.webkit.WebView} class has been updated to
32 use {@link android.webkit.WebView} to print it.</p>
37 <p>Printing an HTML document with {@link android.webkit.WebView} involves loading an HTML
39 string and load it into a {@link android.webkit.WebView} for printing.</p>
42 is not using a {@link android.webkit.WebView}, you can create an instance of the class
48 <li>Load the HTML resource into the {@link android.webkit.WebView} object.</li>
55 private WebView mWebView;
58 // Create a WebView object specifically for printing
59 WebView webView = new WebView(getActivity());
62 public boolean shouldOverrideUrlLoading(WebView view, String url) {
67 public void onPageFinished(WebView view, String url) {
79 // Keep a reference to WebView object until you pass the PrintDocumentAdapter
94 {@link android.webkit.WebView} object so that is it not garbage collected before the print job
102 {@link android.webkit.WebView#loadDataWithBaseURL loadDataWithBaseURL()} method, as shown in the
112 {@link android.webkit.WebView#loadDataWithBaseURL loadDataWithBaseURL()} method with
113 {@link android.webkit.WebView#loadUrl loadUrl()} as shown below.</p>
120 <p>When using {@link android.webkit.WebView} for creating print documents, you should be aware of
127 <li>An instance of {@link android.webkit.WebView} can only process one print job at a time.</li>
134 <strong>Note:</strong> The content of a {@link android.webkit.WebView} object that is included in
145 <p>After creating a {@link android.webkit.WebView} and loading your HTML content, your
151 private void createWebPrintJob(WebView webView) {