Give an alternative for attached peace of code, that works on API 10

  • Status: Closed
  • Prize: $10
  • Entries Received: 9
  • Winner: seegolamb

Contest Brief

I need an alternative for this code that works on API level 10:

@Override
public WebResourceResponse shouldInterceptRequest(WebView view, String url) {
if (url.contains("pop_packcpm.php")) {
return new WebResourceResponse("text/plain", "utf-8",
new ByteArrayInputStream("".getBytes()));
}
return super.shouldInterceptRequest(view, url);
}

Recommended Skills

Employer Feedback

“@seegolamb won the contest on 1 June 2014”

Profile image ArnoldasM, Lithuania.

Public Clarification Board

  • Nikhil3398
    Nikhil3398
    • 9 years ago

    hey

    • 9 years ago
  • Nikhil3398
    Nikhil3398
    • 9 years ago

    please send me a private message.. Thank you.

    • 9 years ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!