TO THE NEW Blog PAGES

Android

Using ‘SendJavscript’ to inject javascript into Android Phonegap application

In one of my Android Phonegap projects, I had to pass information from the native java code of my app to the Phonegap code(written in Javascript). I found out that I can do so with ‘sendJavascript()’ method available in DroidGap class. For example, the following line of code will inject a variable in Javscript with value […]

Technology

Difference between call() and apply() method of JavaScript

Many people get confused with these two functions in JavaScript, most of the time people think that we can pass an object in apply() and access it with this which is not possible with the call() method. But that is not the case, let’s see an example which will make it more clear. Using call() method: [js] […]

Suroor Wijdan
Suroor Wijdan
Read