01-09-2013 08:20 AM
I am using java script extension in my phonegap project. I am able to successfully send data from html 5 to native code.My query is how we will use the value returned by the native inside html 5 in phonegap.The invoke method which performs the functionality required has the below signature which means it returns an Object.Can i access this Object value returned by invoke method inside html 5.
public Object invoke(Object obj, Object args)
in html 5 i am calling native code as
can i do something like this
var temp = sample.demo.username(1000);