Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

How to use Event StartCallButton

Good Day !

Is the Phonegap onStartCallKeyDown implemented ?
I Tried to use this but the Tiggzi supplied "startcallbutton" never gets fired on test phone Android 2.3.5
I also tried my own by adding.

DeviceReady
codedocument.addEventListener("startcallbutton", onStartCallKeyDown, false); /code
Javascript
codefunction onStartCallKeyDown() {
localStorage.setItem('CallTimeStart','Has Fired');
}/code
Am I not getting this?
Thanks.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to use Event StartCallButton

Use the 2nd approach now...when you set up the event via the builder, the event is not created correctly. We'll fix it.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

How to use Event StartCallButton

Ok Max. Thanks.
My 2nd approach doesn't work either.
Maybe when u fix it...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to use Event StartCallButton

No connection to the builder issue.. if you bind the events manually, it should work. Check on PhoneGap for examples or any known issues...

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

How to use Event StartCallButton

Ok. Spent half the day looking for reference on this. But found squat.
Looks like an issue with the phone or android version maybe.
Thanks again Max

Oh ! Any other Tiggzi events in the Designer Tab that don't function ? Or are not implemented.. Like Search button, On/Off Line etc. ?
Would save me allot of time testing them...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to use Event StartCallButton

All events should be supported.. the problem is with code generation. For some reason the events are not added to the app source. It's a bug.

As for the actual events working -- as you see it's not simple out there.. it's different for every Android version.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

How to use Event StartCallButton

Tks again for the reply. I plan On using Eclipse to create the apk in the end. So I could still use Tiggzi events and just find and add the missing bits later.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to use Event StartCallButton

The code generation is correct, you will get the events when you export the app source or binary.

Return to “Issues”