Android :: Disable Orange Circle Effect When Clicking On A Link In A WebView
Nov 2, 2010
I'm trying to catch the mouse click location so I wrote an onClick in the body tag, but every time I click on the page the whole page turn orange for a little while. Is there any setting can disable this effet?
View 2 Replies
Oct 13, 2009
I have some WebView widgets inside my Activity. I use loadData() to set the content, and this html contains a link. Some of my WebViews work okay, when I click the link, the web browser is started in a new window, but some make my app crash when I click on a link.
10-13 08:45:24.257: ERROR/AndroidRuntime(751): Uncaught handler: thread main exiting due to uncaught exception
10-13 08:45:24.308: ERROR/AndroidRuntime(751): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.app.ApplicationContext.startActivity(ApplicationContext.java:627)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.content.ContextWrapper.startActivity(ContextWrapper.java:236)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:185)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:277)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.os.Handler.dispatchMessage(Handler.java:99)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.os.Looper.loop(Looper.java:123)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.app.ActivityThread.main(ActivityThread.java:3948)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at java.lang.reflect.Method.invokeNative(Native Method)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at java.lang.reflect.Method.invoke(Method.java:521)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at dalvik.system.NativeStart.main(Native Method)
There seems to be a problem with the Intent that the WebView fires when I click the URL, but I have no control of this Intent, I think. Does anybody have any idea?
I use this AsyncTask to set the content in the WebView, and it works fine.code...
View 1 Replies
View Related
Feb 2, 2009
I want to extend the WebView so that I can override the action of clicking on a link in the webview. At first glance I do not see how to do this. I tried adding an onclick handler to the WebView and that had absolutely no effect. I am not seeing very much info on extending the WebView control and was hoping someone might have some suggestions.
View 4 Replies
View Related
Jun 14, 2010
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 WebView's loadUrl() method to load a page that contains anchor links. However, if I load the same URL in the browser, the anchor links do work.
Is there any special handling required to get these to work for a WebView?
I am using API v4 (1.6).
There isn't much to the code, here are the relevant parts of some test code I've been working with:
CODE:...................
View 2 Replies
View Related
Mar 8, 2010
On my wife's droid there is either a green circle or an orange clock-like icon near my name in her contacts. Any idea what this is?
View 1 Replies
View Related
Jul 29, 2010
I need to make an android App that when the user navigates to my webpage with the browser and clicks on a specific link my App activity gets launched. I try to achieve this using Intent filters but without success. I followed some samples like Notepad and PhotoStream but nothing works for me.
View 1 Replies
View Related
Nov 4, 2010
Excuse the simplicity of this request - but is there a way for me to link onClick commands for buttons through the Layout rather than code. I am trying to create a simple app and I want to be able to make buttons and have clicks go from one "page" to the other.
If not, could someone please point me in the direction of the code needed for it?
Is there a site that might overview how to use the UI to code for droid?
View 2 Replies
View Related
Dec 12, 2013
I have Wildfire S with Cyanogenmod 2.6.35.13-CRYPTOMILK-g721bcd9 (version 9.0.0-RC2 ALPHA 6 marvel) based on Android 4.0.4.
I've installed also Int2Ext and two or three days ago Adrenaline.
And it worked just fine.
Until yesterday. Two days ago I started to have a indicator that i have memory full. But when i went into memory settings i have a lot of memory.
But i've uninstalled one game.
And still nothing.
After that i've browsed internet with Opera and a popup showed to ask me if i want to download Porn.apk. Of course i cancelled it.
And today my phone didn't go beyond the loading animation.
So i've uninstalled Andrenaline.
And it started.
But since that i can not touch and move my screen.
On the screen there is a blue circle displayed and when i move my screen it does not move; the circle does.
And i'ts impossible to do anything now on my phone. Because it's hard to use this circle thing.
I've found on the internet you should go to Settings -> Developer Settings -> Touch display and disable it.
So i did it but still i have this circle. I also tried to enable it, restart, disable it, restart and nothing.
Installing Andrenaline didn't work also. Is this some kind of a virus? Or settings broken?
Is there any way to fix it with command line or some other software and not with wiping whole phone?
View 1 Replies
View Related
Jul 6, 2010
In my application, how do I disable the transition animation that shows the new activity layout enter from the right and the old one exit to left? Versions 2.0 -> 2.2 if relevant.
View 2 Replies
View Related
Apr 15, 2009
My activity has a LinearLayout which contains a TableLayout and a WebView. The TableLayout has button and a TexView. This is created from code instead of using R.java (for our own reason).
Things are displayed correctly, however I can NOT click on the links inside the WebView (I can NOT browser through inside the WebView). This doesn't happen if I only have WebView inside the contentView. Are there some layout setting I missed?
View 2 Replies
View Related
Jul 20, 2010
OK so I have an rss reader that links to articles. One of the sites it links to doesn't have a mobile view. I was wondering if anyone knew if it was possible to set the "zoom" and position of the view once the page is loaded? So for instance if the following link were my article... http://www.neworleanssaints.com/news-and-events/article-1/Saints-agree-to-terms-with-7th-round-pick-Sean-Canfield/cce6a9ca-eaee-4878-ad40-0b98609f7fe7 Then how could I have the view focus on the article without the user having to zoom in and scroll the the top of the article.
View 1 Replies
View Related
May 18, 2010
I updated my moment to the official 2.1 firmware from Sprint yesterday.I've looked in the menus, but can't find a setting for it.Does anyone know a way to disable the fade in/out of the screen when unlocking or putting the device back to sleep?
View 7 Replies
View Related
Nov 16, 2009
If a page has a URL or a phone number on it that isn't a link is there any way to have WebView recognize it and automatically turn it into a link like you can with TextViews?
With a TextView you would simply set the android:autoLink to the desired settings:
<TextView
android:autoLink="web|phone"
... />
but I can't find any equivalent for WebView.
View 2 Replies
View Related
May 13, 2009
I am trying to add a webview in my app to display a web page. However, every time I click link on the web page, Browser will be launched to display content in that link. I understand it is something about intent but I am still wondering is there any simpler method to ask webview to display link content within its View ?
View 2 Replies
View Related
Nov 19, 2010
I have an app that loads a webview and all the clicks are kept within the app. What I would like to do is when a certain link, for example, http://www.google.com is clicked within the app it opens the default browser.
View 2 Replies
View Related
Jun 13, 2010
Unfortunately it is an Orange branded phone and has all of their additional guff installed on the phone. I would like to run the desire without the sense UI and instead just run the plain android UI for a while, my problem is that when I disable Sense I am just left with the Orange home screen selector! Does anyone know how I turn that off and run the basic android? or am I stuck with these skins?
View 3 Replies
View Related
Apr 12, 2010
Is it possible to disable the scrollbar in the webview? If possible how?
View 7 Replies
View Related
Jul 14, 2010
can i disable the webview onClick Activity(); I have a couple of webviews in a listactivity and i want to capture the listclick instead.
View 3 Replies
View Related
Nov 9, 2010
As the title says, how do disable and hide the address bar from a WebView?
View 1 Replies
View Related
Jul 31, 2010
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 android link styling is being laid over top of the effect.
View 2 Replies
View Related
Sep 13, 2010
When a user clicks in an input field or textarea, the application zooms in.Is there a simple way to disable it?Everything looks great till I look at it on a device with Android 2.2. Specifically HTC Evo 4G.
View 2 Replies
View Related
Oct 4, 2010
How do you disable all touch events in an Android WebView (or scrolling in particular)? I would like the activity to handle all touch events.
View 2 Replies
View Related
Oct 15, 2010
I'm using webview to display local html content. The text fits the screen width, but the user is able to navigate horizontally where there is only blank space left. However, there is no content to be shown as everything fits the screen size. Does anyone know how can I avoid this behavior? I mean, if all content is being show, how can I disable horizontal navigation.
View 2 Replies
View Related
Jul 27, 2010
How can I link like the Checkbox and larger TextView to external data? Should I use a SimpleCursorAdapter? Or create my own adapter? Should it extend ArrayAdapter or BaseAdapter? My list item UI:
View 1 Replies
View Related
Sep 2, 2009
I'm new to openGL and I have done some first tests with drawing a triangle. Now I would like to draw a circle, which is filled with a texture, but I have no idea, how to do so.Can someone of you give me a hint?
View 5 Replies
View Related
Sep 2, 2010
I have a question that I wanted to put button and circle on the same canvas. How can I do this? Please give reply as soon as possible.
View 2 Replies
View Related
Oct 29, 2010
Trying to draw a circle at a longitude/latitude position. The circle below doesn't show up, does anybody know why?
View 5 Replies
View Related
Mar 16, 2010
I have to recommend just getting a book on the subject.I learned most everything off of examples and documents on the web.After several months, I finally picked up the blue book and everything I had scoured to find is clearly demonstrated in it.Look for the red book and the blue "superbible."They cover everything you need.There are also books specific to ES.Make sure to get a good 1.1 one and not a 2.0-only one.
View 7 Replies
View Related
Mar 5, 2010
I'd like to display a given String in a circle (so bend the string so that the end of the string touches the beginning of the string). And Then I'd like to let the user rotate the circle by grabbing and dragging it clockwise or counterclockwise. Do you guys know what would be the best (simplest, smoothest) way to do this? I already saw that using drawOnPath i can draw text in a circle. Do you have any tips on how to proceed with dragging and rotating the textcircle?
View 8 Replies
View Related
Nov 2, 2010
When I have a status bar notification with a number inside, it shows the number fine. But later if I show another notification to replace this one, with no number, it shows an empty red circle. This circle shouldn't be there. How do I remove the red circle? See image here: http://jump.fm/UYHGV.
View 1 Replies
View Related