Hi,
I use in my project a piece of code as described here

http://lexandera.com/2009/01/extracting-html-from-a-webview/

I create the .apk file, install it on my device and it correctly
works. If I try to use the obfuscation with proguard the project
fails, the method showHTML(String html) of MyJavaScriptInterface is
not reached.

My proguard configuration regarding that

-keep public class com.mypackage.MyClass.MyJavaScriptInterface
-keep public class * implements
com.mypackage.MyClass.MyJavaScriptInterface
-keepclassmembers class * implements
om.mypackage.MyClass.MyJavaScriptInterface {
    <methods>;
}

according to this this answer at
http://stackoverflow.com/questions/5356560/android-proguard-javascript-interface-problem.

Any suggestion? Thanks in advance.
Denis.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to