Android :: WebKit / WebView - Focus Highlighting

Jan 21, 2009

When viewing Web pages either in the built-in Web browser or in a WebView canvas, focusable items get the orange highlight ring as you navigate the page with the D-pad/trackball. A design team I am working with wishes to create some Web content, specifically for Android, where they handle their own focus highlighting via Javascript/CSS and wish to disable the built-in Android focus highlighting. In this case, the content is being viewed through a WebView, so I have some measure of control. I see some posts describing how to use ColorStateList, <selector>, and android:background to affect this sort of change, for a single View. How would one go about affecting this change for the contents of a WebView?

Android :: WebKit / WebView - Focus Highlighting


Android :: Using Webkit / Webview For UI Instead Of Native UI

Oct 21, 2009

I wonder if it's possible to use webkit/webview for UI instead of using the native UI (view,layout,activity,etc). Is there a way to catch/propagate intents to internal app when we use webkit/webview ui (probably through javascript)? The advantage of doing this is to provide a cross platform client that works in various mobile devices.

View 5 Replies View Related

Android :: Row Not Highlighting

Aug 20, 2010

I have the android:cacheColorHint="#00000000" set on my ListView, which fixed this issue in one of my other lists in another activity, but it's not helping in this other list. I'm using the Light theme in my app, if that matters. I can't figure out what's going on. Long press brings up the context menu just fine, I just don't get the nice highlight of the row while pressing it.

View 1 Replies View Related

Motorola Droid X :: Auto Focus - Click To Focus

Aug 29, 2010

I loved the camera on the Eris and the Incredible, not only did they have a whole lot more of a crisp high-res detail, the auto-focus absolutely rocked. With my droid x, I can be getting a little artsy and focus on an object with the crosshair but it'll take me 20 tries to get it to lock on, its insane, I know I'm not getting too close to my subject because it will definitely eventually focus on that object if I try over and over and over again. It's not just close ups that I find myself and my buddy with this issue either. macro shooting mode does not help. My buddie's droid X has the same exact behaviors. Eris and incredible just LOCKED ON first try with even very low contrast / detail subjects, on top of that, have a ton better camera GUI when it comes to "click to focus". I know this thing ain't no SLR but, blows me away of how terrible the camera performance is vs. the HTC android based devices. Ihink motorola will fix this? I know this thing ain't no SLR but it just blows me away how the HTC android devices camera performance (except for video) blows the Droid X away.

View 9 Replies View Related

Android :: SVN And Syntax Highlighting

Dec 4, 2009

Anyone know of a Subversion client for Android OS? Same goes for a syntax highlighting text editor on there.

View 4 Replies View Related

Android :: Getting Right Highlighting Behavior In ListView

Sep 20, 2010

I have a ListView set up in single-choice mode like this:

<ListView android:id="@id/android:list"android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="#ff444444" android:layout_weight="1"
android:drawSelectorOnTop="false" android:choiceMode="singleChoice" android:scrollbars="vertical"
android:headerDividersEnabled="true"/>

When I press my finger on a choice, the selection changes from white text on light gray to black text on orange. But as soon as I lift my finger, the selection reverts to the original state. I'd like that chosen row to remain in the black-text-on-orange mode when I lift my finger so that the user knows what was selected in the list (my onClickListener has captured the selected row, of course). Is there a way I can tell the ListView that I want this behavior or something similar so the user knows what item has been selected?

View 6 Replies View Related

Android :: Cursor Not Highlighting Buttons

Aug 27, 2010

I'm trying to customize my buttons in my view a bit and give them my own look. Whenever I set a picture as a background so that the button looks different though, I seem to lose my cursor. I can use my trackball to go through the items still but when I come to one of my custom buttons the cursor does not show. I have the same problem with some TextViews that I made clickable.

View 1 Replies View Related

Android :: SetCursorVisible - Loses Highlighting

Nov 22, 2010

I set setCursorVisible(false) on my EditText to get rid of the blinking cursor. Unfortunately, this also gets rid of highlighting. Why? How can I get rid of the cursor and not the highlighting?

View 1 Replies View Related

Android :: Disable Highlighting In GridView

May 19, 2010

After searching for more than 3h in den the docs and testing I have to ask this question: How can I turn off the orange highlight, when clicking on an item in a GridView?

View 2 Replies View Related

Android :: GridView Disable Highlighting

Jul 1, 2010

I'm trying to disable the highlighting of objects in a GridView in Android 2.2. I did find another article saying that I should set the selector to a transparent ColorDrawable, but the views in my GridView are still dimmed when I select them. I'm just using the GridView to display static objects (right now it's text, but I plan on switching it to simple images). None of these objects will be selected. Would it be better to just use a basic view and draw my images manually with quartz?

View 2 Replies View Related

Android :: Highlighting Coloured Item In ListView

May 23, 2010

I have a ListView component and its items are highlighted orange when clicked or selected with the trackball, as you would expect as this is the default behavior. Some of my list items get colored with setBackgroundColor(). These colored items seem to hide the orange highlighting when clicked or selected. How can I color some of my items like this and still inherit this highlighting behavior?

View 2 Replies View Related

Android :: Focusing Spinner Object - Highlighting Component

Sep 7, 2009

When components like TextViews got focus we can focus them using highlighting the border of the component. Like that how can we highlight the border of a spinner object when it got focus? You can highlight borders of each and every item in the spinner at the time of selection. What I need is to highlight the border of spinner object when it got focus initially. I went through xml attributes and couldn't find matching one. Let me know if u have any clue to do this.

View 3 Replies View Related

Java Library For Syntax Highlighting Dynamic Text?

Apr 8, 2013

Is there a Java library for colourings text in an EditText? Or is this just accomplished with Regex? I looked into Google Prettify but that seems to be for static text.

View 2 Replies View Related

Android :: WebKit Capabilities

Sep 2, 2009

Android platform and actually mostly interested in the browser. I created http://www.jqtouch.com/ in hopes of developing a web-based cross-device application framework — but I'm running into a lot of issues with Android. Does anyone know of any good resources which describe the features/implementation of WebKit on Android? At first glance, it appears it doesn't support HTML5, nor certain -webkit CSS3 extensions like gradients or transitions. Does support certain other WebKit features like opacity, etc.

Most of my searches are coming up futile, because I end up seeing generic info about Android having WebKit, or technical pieces specific to embedding WebKit in native apps — but no good documentation on general WebKit features available. Again, I'm new to the platform, so I apologize if this information is in the clear...

View 3 Replies View Related

Android : Get Webkit In Background?

Nov 27, 2009

Is there a way to get webkit running in the background , or even small enough for the user not to know that the webkit browser is running? Basically i want to use this to have java and javascript integration while using the android UI.

View 1 Replies View Related

Android :: Enable Selection In Webkit

Jun 13, 2010

I'am looking for a way to have a webview content selectable in the very same way as the stock browser does.
I should note that Dolphin HD shows exactly the same text select functionality as the default browser (same icons, animation, etc), so it really should be possible. But I can't figure out how.Until now, all i found was this function, which kind of work, but doesn't allow the user to expand/shrink the selection.I just discovered that long touch copy/paste is part of HTC Sense, not Stock android. Still, it'd be useful to find out how to enable that on a webview, even just for HTC users. Anybody knows ?

View 1 Replies View Related

Android :: Version Number Of Webkit?

Jun 30, 2009

How can I find out what is the version number of Webkit (the one from www.webkit.org) that is android's Webkit (the one in external/webkit) is based on?

View 2 Replies View Related

Android :: Additional Fonts For Use With Webkit

Aug 25, 2009

I am interested in displaying web pages with more than the 3 installed fonts. I tried the demo of installing fonts as assets and changing the typeface, but I am not sure if it applies to a Webview. I was able to modify the sdk and install more fonts in frameworks/base/ data/fonts. I can see those additional files when using the shell in / system/fonts. However, the fonts were not used in the internal web browser.

View 2 Replies View Related

Android : Hide URL Bar In Droid Webkit?

Jun 24, 2010

This doesn't seem to work in jqTouch or iUI. But I know it's possible because it works on my Droid when I go to deviantart.com . Anyone know how to do it?

View 2 Replies View Related

General :: Transparent Blue Bar In Gmail App When Highlighting Emails To Delete And In Ebay Search

Jun 21, 2013

Every time I highlight an email the top bar half fills transparent blue same goes for my Ebay app when I'm trying to do a search. My N7 doesn't do that. How to eliminate that effect for lack fo a better word.

View 1 Replies View Related

Android :: Extending / Creating Webkit Plugin?

Dec 14, 2009

Is there a way to extend Webkit on Android? Can we write plug in for webkit in android? Can we do things like creating our own renderer for a particular type of data embaded in the webpage? Can we track user session or modify data stored in the browser cache/memory?

View 2 Replies View Related

Android :: Schedule For HTML5 Support In WebKit?

Jul 22, 2009

What is the schedule for HTML5 support in WebKit? Specifically - offline web applications and storage.

View 2 Replies View Related

Android :: Enable SVG Support When Building Webkit

Oct 15, 2009

how to enable SVG support when building Webkit for Android? I saw an earlier thread from back in March about SVG being slow for the UI of apps, but I'd like to experiment with web content containing SVG, DOM manipulations, etc to see what the speed is like. Is it just a matter of turning on the compile flags for SVG support in Webkit or would there be a significant porting task?

View 2 Replies View Related

Android :: How I Can Disable Any Webkit Resizing In Droid?

Feb 7, 2010

I have a question regarding the meta viewport declaration in HTML pages. Please tell me if this is not the correct group to post to. I have been doing quite a few iphone specific websites and I always use: <meta name = "viewport" content = "width = device-width; minimum- scale=1.0; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" /> Now I tried a site that is using that declaration in the android emulator with a 854 x 480 resolution. Even with the declaration above its scaling graphics and text. I would assume that I have 854 x 480 at my disposal. Can somebody explain how I can disable any resizing? Never had any of those issues in the 1.x Android OS devices and iPhone OS.

View 2 Replies View Related

Android :: Enabling LOGD Messages In Webkit

Mar 20, 2009

All, How can we enable LOG messages in Webkit.

I wanted to enable some debug prints using log utility of Android in Webkit I added the following statements in my code.

#define LOG_TAG "webkit" include <utils/Log.h>

And the following line to test LOGV("Constructor CachedImage.cpp");

I am unable to get the logs. Should I enable with the following define. I even added liblog as one of the shared libraries during compilation.

#define LOG_NDEBUG 0 /* Is this required to get logs? */

View 3 Replies View Related

Android : What JavaScript Events Available To WebKit On Droid?

Jan 24, 2009

I'm building (for lack of a better description) a mobile web app targeting Android users. I need to know what JavaScript events are available to me. I have been able to make the following work

View 3 Replies View Related

Android : Address Parsing In Droid Webkit?

Jul 6, 2010

When my site renders in WebKit on Android, addresses are parsed and an OnClick intent is assigned to them, but this behavior gets in the way of javascript I want to act when the text is clicked. Is it because my site uses MicroFormats for the address? Is there a way to disable this on the browser, so no automated parsing occurs?

View 2 Replies View Related

Android :: Manually Update Browser With Latest Webkit?

Jul 21, 2010

Is it possible to update WebKit behind the Android 1.5/1.6/etc (prior to 2.2) browser? I know latest nightly WebKit builds has great HTML5 support. So, my intention is to provide html5 video streaming (and other features) support on all those droids. Previously I was able to update WebKit engine on different devices with older Safari to meet my requirements (on any mac os x distros it's easy as updating WebKit.framework).

View 1 Replies View Related

Android :: Webkit Text Overflow - Ellipsis Not Working

Oct 27, 2010

i am trying to get the following code to work on an androind 2.1 phone (HTC Sense UI):
h1 {font-size: 14px;
font-weight: bold;
color: #FFF;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden; however, the text-overflow property does not seem to work. has anybody else had this problem, or found a way to work around it?

View 1 Replies View Related

Android :: Call Parameterized Javascript Function In WebKit?

Nov 16, 2010

I am trying to pass 2 parameters to a javascript function.This code webview.loadUrl("javascript: function_to_call();"); works fine without parameters but i couldn't use it with parameters. code...

And this is how i call it from java . code...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved