Need Help in Webview Highlight

by brijesh masrani » Mon, 12 Apr 2010 12:17:56 GMT

Sponsored Links
 Hello Everyone,

I want to select text from Webview and than Highlight it.

 I am able to get the selected text using *emulateshiftHeld() *method but If
i try to search it in file and than Underline it the problem is that it
doesn't know the position of text so it underlines that word in whole file
as many time it is repeated.

So i want to find the position of that text (which will be known only at
runtime) in webview. Can anyone please help me??

Awaiting for a positive reply..

Brijesh Masrani.


Need Help in Webview Highlight

by Adriano » Tue, 31 Aug 2010 01:47:49 GMT


Did you find the solution ?




Sponsored Links

Need Help in Webview Highlight

by Maps.Huge.Info (Maps API Guru) » Tue, 31 Aug 2010 04:10:11 GMT

 emulateshiftHeld is not a documented function. I would recommend
finding another way. The problem with using undocumented features is
the have a nasty habit of going away, changing or suddenly doing
something you didn't expect. If you want your app to not break
unexpectedly, use documented features only.

-John Coryat


Other Threads

1. (OT) Is the combination of Android Market and Google Checkout a joke?

Hi all,

I've got a customer who placed orders on 19th (Thursday) @ 9:46 PM
PST, and he is still able to cancel his order (there's no green circle
confirming the charge).
I guess it's the *48* hours refund period + the fact that Google
Checkout could care less about weekends and holidays.
So if I'm a customer, I could buy, say[1], a game on Friday, play all
weekend and return it on Monday.

Google has got to be joking.

[1] Arcade games are more vulnerable to this WTF because you can
literally play the entire game in 1 weekend unless it's *very* hard.


2. Building multiple app versions for the Market

We're thinking about building light and paid versions of our app for
the Market. But I am not clear what we need to do, or how to do it.

(1) Do we definitely need the two versions to have different package
names for the two builds ?

It seems logical to do it that way, but I have not found a clear
answer from Google to that question. Though I have found several
people asking the same question.

(2) Is there any support in Eclipse for building two similar apps with
different package names from the same java and xml files ?

In most of the IDEs I've used, it is a doddle to define multiple build
targets for one project, but none of those mechanisms seem to be
present here. And, the package name is embedded in every java file, as
well as in many places in the manifest, leaving me without a tidy way
to build to alternate package names.

Is there a tidy way to build multiple version ? Or are we really going
to end up copying the whole codebase and search-and-replacing the
package name ?




3. WiFi on Android Dev Phone 1

4. Notepad provider context - Notepad application?

5. What's holding up UK paid app's

6. How to access the form data in all my Activity

7. How to check which button is clicked