Hi,
I have a WebView in my Android App that is loading an HTML string using the loadDataWithBaseURL() method. The problem is that local anchor links (<a href="#link">...) are not working correctly. When the link is clicked, it becomes highlighted, but does not scroll to the corresponding anchor.
This also does not work if I use the W...
Hi all,
I implemented a WebView in my android app displaying a web form. One of the fields ask for the user to manually enter his phone number (in case the phone does not allow extracting of phone number).
Right now, the qwerty soft keyboard pops up when user selects the field. Is there a way I can have the numberpad display instead?
...
I'm trying to display the content of a html file with the loadDataWithBaseURL() method in android.
I just have a String that contains the Html file data in one String called source and I then pass this to the method.
for e.g
String source; //contain html tags with images
View.loadDataWithBaseURl(null,source,"text/html","UTF-8","about...
I'm trying to tell a WebView to scale the page down to a certain percent. I've tried using setInitialScale() as that seems to be exactly what I want, but it seemed to have no effect.
Am I just missing something obvious?
Thanks in advance!
...
I cannot figure out how to have a WebView in Objective-c detect when a scroll has been made. I have looked at the WebFrameLoadDelegate and found didChangeLocationWithinPageForFrame method, but that did seem to work.
...
I am using WebView to present UI. Is there any way that I can trigger custom soft keyboard when input text form field is selected?
...
In some web browsers, huge images are automatically resized to fit the screen.
Is it possible to do the same in an Android WebView?
The web page just contains the image, maybe adding some JavaScript could do the trick?
Anybody has already done this?
Note: I don't know the size of the image in advance.
...
hello everyone,
I'm sharing some variables accross activities by using a class like this :
public class Globals {
static Boolean hint1_graph_type_switcher;
static Boolean hint2_stockview_valuation;
other variables ...
}
then I'm using these variables anywhere across my multiple activites with ...
if (Globals.hint2_stockview_v...
The problem:
I want to use a WebView to enable dynamic loading of ads in my app. I'm currently running on a HDPI device, and images width a width of 480px are clipped/scrolled. If I use images with a size of 320px, they are zoomed in and rendered at too low a resolution.
The content of the loaded WebView url is a simple web page with j...
I need to send large amounts of data (image files) by POST in a WebView, so I'm using NSMutableURLRequest with setHTTPBody:.
Problem: if the data size is more than about 3MB, the app suddenly starts eating up huge amounts of memory and gets dog slow with all the paging.
I've tried changing this:
[request setHTTPBody:[NSData dataWithBy...
I am developing part of an Android application that needs to use a WebView to open a password protected site. I am using SharedPreferences to provide the username and password from when the user logs in the app for the first time. I've tested the credentials it's returning, so I know that those are correct. When I run this in the emulato...
I have a webview that is loading a page from the Internet. I want to show a progressbar until the loading is complete.
How do I listen for the completion of page loading of a WebView?
...
Hello,
I have a listview with a custom adapter for each item of the list. If my custom item is some textview everything works fine. But each item has to be some html and hence I need each item to be a webview. The problem is that the webview steals my click and thus I cannot select an item from the list anymore.
So this:
this.itemAdap...
I have a username as password which I need to send to a website as part of an android application (yes it is https), and once submitted to the seerver via POST, the server should return cookies. I need to be able to capture these cookies, and allow them to be accessed in a webview which I have settup.
How would I do this?
Thanks
...
I've been writing a Mac app to inspect each HTTP request and so I'm using WebView to load the request.
The problem is I can't seem to figure out how to get the content of each of the resource item?
I'm trying to get the contents for the resource from the WebResourceLoadDelegate method
- (void)webView:(WebView *)sender resource:(id)id...
Hi Folks,
I have a two views. one is webview and another is a imageview. i set the auto zoom controls for the webview. like:
webview.getSettings().setBuiltInZoomControls(true);
i just changing visibility of both views using GONE and Visible. While changing my view form webview to image view, the zoom controls not lost is visibility f...
Hi, I have an issue with Webview. I'm programming my own WebChromeClient class overriding onProgressChanged method because I want to show the page when it finishes loading and then, to hide the splash screen. As I just want it to happen with a specific url, I compare the actual WebView url with a specific string, but there is a problem...
SO i wan to check a "404 page not found" from a webview and if it's a 404 then i revert to the
previus page. Ty for your help
EDIT also the webpages i want to see are pure .jpg 1.jpg 2.jpg 3.jpg but i have no info of how many images exist.So if anyone can propose another method,he is welcome to do so
...
I have a WebView which may contain data that appears to be getting "auto linked". Something that looks like an email address is becoming clickable, even though it's now within an <a> tag or has an onclick attribute. How do I disable this auto-linking?
I've looked thorugh the WebView docs, as well as the WebSettings docs, but didn't se...
HI,
Is it possible to support zooming of a WebView (similar to the default browser) when the user pinches and moves their fingers closer / further away. Im using 2.2 and tought this would be possible using the ScaleGestureDetector. THe problem is that I can't seem to find a method to set the scale. WebView.getScale() returns the curren...