article thumbnail

Best Of Both Worlds: Mixing HTML5 And Native Code

mobile.smashingmagazine.com

Android Web views have the benefit of being able to expose an entire Java class to JavaScript. On the Java side, the WebViewInterface is a standard Java class. Make sure you take standard Web security practices into account to ensure your Web content cannot be compromised to begin with. If you are targeting the Android 4.2