When using border-radius on my android emulator I am seeing ugliness like this:
Is there anyway to get Android to display rounded corners via -webkit-border-radius in a more pleasing way? Most modern desktop browsers and Mobile Safari seem to antialias their corners, but not Android's renderer.
I'm really hoping I don't have to do t...
hi im create 5 webview at runtime.I Want to know how i change webview background so that effect is seen directly.
...
I would like to set the zoomlevel on my WebView (WebChromeClient).
According to the API WebSettings holds a static method ZoomDensity that should do the trick but I just can't make it work. It looks like WebSettings does not have the method, Content Assistant does not suggest it or show it to me..
Neither the Webview or the WebSettings...
Hi,I am having issue while showing a WebView in an activity in the middle of the screen.
I have an activity and I want to show a webview in the center of screen. My activity is transparent so background activity will be visible. Whenever I try to create a webview and add it to activity using setContentView(webview) it always shows the vi...
Hi All,
I have a mobile website and it has some HTML input objects in it such as:
<input type="text" name="txtAccessoryCost" size="6" />
I have embedded the site into a WebView for a possible Android 2.1 consumption, so that it will also be an Android application.
Is it possible to get the keyboard with numbers instead of the defaul...
When you click a link in the Android browser, the target link area gets highlighted with an orange box by default. A longpress then opens up the context menu for link handling (copy, paste, new window, etc). Is there a way to disable either / both of these in webview? I'm using the highlight code in scriptaculous and the default andro...
Here is my code. everything works great except the orientation, it reloads every time I rotate the phone it reloads to the home page, it is a pain. can anyone tell me where the problem is.
import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.G...
Hi,
I am trying to use a WebView in my Android application. I am creating my webview in code-side (not in XML). My problem is; when I call loadUrl method of webview, the webview goes fullscreen mode. How can I keep the size of the webview for example 200x200 pixels?
If there is any other option instead of webview, of course welcome :)...
Hi Experts,
I want to retrieve the position of mouse pointer in webkit's webview widget. So I tried to connect it like this.
gtk_signal_connect (GTK_OBJECT (gtk_widget_get_toplevel(web_view)), "motion-notify-event",
(GtkSignalFunc) motion_notify_event, NULL);
But the callback functions gets never called when mou...
I am attempting to learn Android development and have modified a sample app that loads a web page in a WebView. The web page contains a text input. I want to use the Android DatePicker to input a value instead of the keyboard.
The code below almost works. The DatePicker is displayed but throws an unknown error when I select a date an...
Android: i am using twitter authentication by launching webview
Intent authIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl));
startActivity(authIntent);
after successfull authentication onNewintent get call and control returns to my activity.
problem is webview still remain open after control return to my activity and if us...
I've seen some apps like dolphin browser (not the HD version, the normal one) utilizing a cache-to-sd for webview but i can't seem to figure out how to do this, does anyone know how to do this or point me in the right direction? Any help is greatly appreciated! Thanks :)
...
On the android, when the built in browser comes across an email or a phone number and it is pressed, a dialog box comes up for each.
However, if i navigate to that url inside my Application's webview, this no longer is the case.
Is there anyway for my webview to exhibit the same properties as the browser application in detecting email...
I'm writing a Android app which uses WebViews for some of it's content. In at least Android 2.1 and 2.2, it appears the web-view has a feature that turns text that looks like addresses into clickable links of the form "geo:...". I've also something similar with phone numbers.
However, in many cases the text is not actually an address...
For example if a WebView loaded "test.html?PageId=10", how would I get that PageId is equal to 10?
...
I am loading some sequence of pages while the user swipes/flings on the webview, using the animation effect of the viewflipper - to bring that iphone transition effect.
I have two webviews added to a viewflipper.
Added setOnTouchListener to both the webviews and using gesture detector for fling.
After detecting the fling direction, I ...
Why below code is throwing nullPointer exception in last line
(when accessing javaInterface.mValue)
This line through NullPointer, so basically it is not being set. even
though the javascript is correct and has been verified using FireBug
that it returns expected string.
There are few lines above this code chunk but it is irrelevan...
i want to open twitter auth in my webview rather then opening in browser, any good tutorial how to play with webview in dialog and loading it inside dialog?
...
I've got a very basic WebView which works until I try to add a custom webViewClient where it stops processing JavaScript. Am I doing something wrong? Is there another way to get rid of the address bar and menu options in the WebView?
browser = (WebView) findViewById(R.id.webkit);
WebSettings webSettings = browser.getSettings...
Hi all,
I want to send down a webpage from a server to WebView components on Android handsets.
I've already learned how to enable the webpage to talk to the JavaScript handler, so the native application can interact with the webpage.
I am, however, stuck on images.
I want the webpage that comes from a server to somehow tell the app whi...