Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Beep!

Hi,
Does Tiggzi not support the phonegap navigator.notification.beep(2);

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

Beep!

PhoneGap library is included when you create a new project.

http://docs.tiggzi.com/documentation/...

http://docs.tiggzi.com/getting-started/

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Beep!

Hi Max, when I attempt to use the function

function playBeep() {
navigator.notification.beep(3);
}

I get an error!

Uncaught TypeError: Cannot call method 'beep' of undefined

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

Beep!

How do you test the app, did you install it or running in the browser?

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Beep!

Hi Max, sorry about wasting your time with this, I installed the app and everything is OK.

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

Beep!

I am running this js on button click event :
navigator.notification.beep(2);
and I get the error in test browser:
Uncaught TypeError: Cannot call method 'beep' of undefined

So i tested on android phone and although volume is up, there is no sound.

Is there more I need to do?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Beep!

Hi Sean,
Are there any other actions on button click?

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

Beep!

no, but along with the beep attempt in the same js I do:
alert('Favorite Added');
navigator.notification.beep(2);
Tiggzi.navigateTo('horsePage', {reloadPage: true});

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Beep!

We've tested this. Should work. There are no errors on Android emulator. What is the target version of your APK built? What's the version of device? Did you test on iOS?

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

Beep!

I tried just the one line on another button and it worked, so it must be something on my end- thank you

Return to “Issues”