0

I am developing an application on Android 3.0 Honeycomb.
Here I have WebView and I need to implement search functionality in this WebView i.e. The user can type any text in the search box (above in the Action bar) and that text should appear highlighted at all its occurrences in the WebView.

How can we achieve this? Do we need to use javascript here? If so, please tell me how to do it.

Adinia
  • 3,722
  • 5
  • 40
  • 58
Ankit
  • 4,426
  • 7
  • 45
  • 62

1 Answers1

0

Try with WebView.findAll() method to search text in webview

also check

Android 2.2 webview search problem

Community
  • 1
  • 1
Sunil Kumar Sahoo
  • 53,011
  • 55
  • 178
  • 243