Skip to content Skip to sidebar Skip to footer

Javascript Interface To A Browser Not Working In 4.2.2

I had tested my javascript interface working perfectly in android 2.3,4.0,4.1 devices but not working in galaxy S4 which is 4.2.2 i tried calling my native interface from index.htm

Solution 1:

If your android:targetSdkVersion is set to 17 or higher, you need to add the @JavascriptInterface annotation to getSomeData(), as is described in the documentation.


Post a Comment for "Javascript Interface To A Browser Not Working In 4.2.2"