Skip to content

Webview and why?

dipendrapkrl edited this page Jun 22, 2018 · 1 revision

When the app tries to search for your question, it can do so in 2 different ways.

  1. Old way. Uses jsoup to grab webpage result. Pros:
  • Relatively faster than current webview implementation
  • Proven to work.

Cons:

  • Not that fast as it should have to be.
  • Search engine tends to block requests faster using this approach.
  • Fails to grab some of the important text from webpage making it less accurate than it should have to be.
  1. Webview(Experimental). Webview is native way of loading webpages in android. Pros:
  • High accuracy. Grabs each text from the webpage and hence more accurate.
  • Default search engine lasts longer hence delaying the necessity to use fallback search engine.
  • Potential to be very fast in future :D

Cons:

  • Relatively Slow at the moment.
Clone this wiki locally