Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

make phone beep, vibrate on success

thats correct Max

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

make phone beep, vibrate on success

Hello Michael! Could you clarify did you put code codenavigator.notification.beep(2);/code before alert's in JS (which is on Complete service event)

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

make phone beep, vibrate on success

Hi Marina,
I put the code above after the js alerts on success

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

make phone beep, vibrate on success

Hi Michael,

Do you test this on device after APK/IPA build?
The code Marina adviced won't work on browser.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

make phone beep, vibrate on success

tried IPA on iphone 4s ios 6.01

works on click by itself, but won't work on success or error after send_grid, on complete

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

make phone beep, vibrate on success

On "Book" button, where you call Rest Service, there is a "Navigate To Page" action added.
Delete this "Navigate To Page" action.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

make phone beep, vibrate on success

Thanks very much Katya, now works on success and error,

is it possible to navigate from the success or error alert?
this would make the whole event complete

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

make phone beep, vibrate on success

Hi Michael,

You can navigate to other page using the following code:codenavigateTo('screenName');/code
Just paste this after the alert.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

make phone beep, vibrate on success

Sorry Katya,
I wasn't clear,
when I get the success alert message I have to click ok, how can I navigate to another screen from the "ok" button in the alert

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

make phone beep, vibrate on success

If you have the code with alert:codealert("Success");/code
add the following code after this line:codealert("Success");
navigateTo('screenName');/code
Then after the alert is closed you'll be navigated to another screen.

Return to “Issues”