Hi,
Attention.playTone does not work for any tone created with options dictionary/ToneProfile. On the simulator sound works, but when running the same code on the device it does not work. *The device reports `Attention has ToneProfile` capability as true... Documentation marks both playTone and ToneProfile as supported on Venu 3.
The following snippet produces code which will play a sound and show "Custom" text on screen in the simulator. On the device only "Custom" text will be displayed and no sound will be made.
Also I noticed that out of all tones, Attention.TONE_KEY and Attention.TONE_ERROR do not make a sound, but others do.
Tested with CIQ 6.4.1, min SDK version 3.1.0 and 4.2.0
Running on Venu 3 v8.25 with 4.2.4 API
Attention.playTone(Attention.TONE_LOUD_BEEP); // Works Attention.playTone(Attention.TONE_ERROR); // Doesn't work if (Attention has :ToneProfile) { // Yes, Venu 3 "has" ToneProfile var toneProfile = [ new Attention.ToneProfile( 2500, 250), new Attention.ToneProfile( 5000, 250), new Attention.ToneProfile(10000, 250), new Attention.ToneProfile( 5000, 250), new Attention.ToneProfile( 2500, 250), ]; Attention.playTone({:toneProfile=>toneProfile}); // Doesn't work myText.setText("Custom"); myText.draw(dc); } else { myText.setText("No tones"); myText.draw(dc); }