getting webViewClient.shouldInterceptRequest() on android 2.x

view full story

http://stackoverflow.com – I am overriding webViewClient.shouldInterceptRequest() to return common resources like images and js files from asset folder.But this is available for android >=3 .is there any alternative to use for android 2.x I found onLoadResource() to provide similar behaviour but its return type is void (HowTos)