article thumbnail

Best Of Both Worlds: Mixing HTML5 And Native Code

mobile.smashingmagazine.com

My standard technique for moving data from the JavaScript to native code is to invoke a native execution method with a command name and pass along data in the form of a JSON string containing the arguments associated with the command. Keep performance, and security in mind when using any application development platform.