pebble / pebblejs

Program the Pebble with simply JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dictation Confirmation Window Missing

opened this issue · comments

According to the dictation API documentaion the user should be prompted with a comfirmation window after the input is read. Pebble.js dictation does not have this.

  • When the text is returned, the user is given the opportunity to review the result of the transcription. At this time they may elect to re-attempt the dictation by pressing the Back button and speaking clearer.

Note that if you use Voice.dictate('start', false, function(e) { ... });, there is no confirmation screen due to false.

Are you able to get the confirmation screen with this minimal app?

var Voice = require('ui/voice');

Voice.dictate('start', function(e) {
  console.log(JSON.stringify(e));
});

It should look like this after pressing select on the microphone screen:

pebble_screenshot_2016-02-13_21-43-30

There could be something else preventing the confirmation window from appearing, let me know if you have any ideas.

My bad, completely missed that! Thanks