Behavioural Technology Group | BTek

Latest Blogs from BTek

Archive for December, 2012

Calling Native Code from JavaScript using Sencha Touch and PhoneGap 2.2.0

As part of the mobile sensing framework, I needed to call native code from JavaScript in Sencha Touch through PhoneGap. But ever since Cordova 1.9.0 was released, none of the plugin examples seem to work anymore. So here is one that does. The cordova.exec() function looks up the third parameter (‘BTekPlugin’) in \res\xml\config.xml to get […]

Continue Reading →

Posted in: mobile, mobile sensing, phonegap, sencha touch

Leave a Comment (2) →