Remove Charlotte Remove Java Remove Security Remove Web Development
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. There’s no need to trap an attempt to navigate off a Web view via some sort of custom URL scheme, as we did with iOS. First, we must signal to the Android Web view that it’s OK for JavaScript to execute on the Web view.