« first day (13 days earlier)      last day (34 days later) » 
06:00 - 13:0013:00 - 14:00

1:00 PM
yup
not even calling JS
 
okk
can u show me your activity?
Is that CordovaActivity?
 
String js = String.format("window.plugins.ImageFilter.shareImage('%s');", data);
sendJavascript(js);
 
cordova.exec(function(winParam) {}, function(error) {}, "service",
"action", ["firstArgument", "secondArgument", 42,
false]);
 
what to do with this.?
 
6
A: Javascript calls from Android using PhoneGap

ShadeFirstly, you are using a Plugin subclass. Plugin has been deprecated and has been replaced with CordovaPlugin. If you're using an old version of PhoneGap, I would recommend that you upgrade. Secondly, your exec call is wrong. The docs for plugin development clearly state that you have to pass 5 ...

see in this..
 
1:06 PM
checking
how to integrate. :/
 
hmm..tell me if doesn't work or any doubt
@SilentKiller show me your activity structure
what does it extend? DroidGap or CordovaActivity?
 
tried with both
 
@SilentKiller did u dwnload that plugin's full sample?
n checked that u installed plugin correctly?
 
@Dhruti na
 
I think plugin is not installed correctly.. as its not calling js
var AppComm = function(){};

AppComm.prototype.updateValues = function(json) {
var data = window.JSON.parse(json);
$("#pluginResult").html(data.value1 + ", " + data.value2);
};

cordova.addConstructor(function() {
cordova.addPlugin("appcomm", new AppComm());
});
used this in js? @SilentKiller
> As far as I know sendJavascript is the method of the DroidGap class.
comment on that post
 
1:14 PM
its available in both file
 
okz... chking
 
done with your work.?
 
cordova.addConstructor(function() {
cordova.addPlugin("appcomm", new AppComm());
});
used this? with your name instead of appcomm
?
@SilentKiller TL went, & I need to give build on Mon morning. little work is pending. will see later
 
@SilentKiller need to na?
 
1:16 PM
complete your work i had talked with PM that i'll check this tomorrow.
 
u need to tell js, that this is a plugin
 
yo. :)
 
47 secs ago, by Dhruti
u need to tell js, that this is a plugin
 
@SilentKiller evn I am not. do as shown in that link
var AppComm = function(){};

AppComm.prototype.updateValues = function(json) {
var data = window.JSON.parse(json);
alert("img path-- "+data.value1);
};

cordova.addConstructor(function() {
cordova.addPlugin("appcomm", new AppComm());
});
 
1:20 PM
hmm checking
 
hm
in yor index.html, are you having cordova included?
@SilentKiller
 
this .? <script type="text/javascript" src="cordova.js"/ >
 
@SilentKiller yes.
its fine
where do you get unable to find cordova?
 
in CorodvaActivity
 
5 mins ago, by Dhruti
var AppComm = function(){};

AppComm.prototype.updateValues = function(json) {
var data = window.JSON.parse(json);
alert("img path-- "+data.value1);
};

cordova.addConstructor(function() {
cordova.addPlugin("appcomm", new AppComm());
});
this in js
not activity
@SilentKiller
 
1:25 PM
leave it. we'll do it tomorrow.
 
fine, I have holiday
 
anyway!
 
@Dhruti when to leave.?
 
will take time.
you?
 
1:33 PM
how much.?
 
No idea
 
have work.
 
how much work.?
 
don't know. testing app
 
1:35 PM
hmm. i am waiting
 
its fine. go and take rest..
 
that is my wish
 
:/
 
when to leave.? @Dhruti
 
1:39 PM
hmmm
 
given implementation is for ios. But worth a try
testing app
 
hmm. how much time.?
 
go @SilentKiller
 
31 secs ago, by SilentKiller
hmm. how much time.?
 
15 mins
 
1:42 PM
hmm
 
1 min ago, by Dhruti
go @SilentKiller
 
hmmm :P tata Take Care.
 
tc.
tc.. Allahhafiz
 
06:00 - 13:0013:00 - 14:00

« first day (13 days earlier)      last day (34 days later) »