Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

answerObject say without speechbubble from siri #81

Open
Martj89 opened this issue Jun 21, 2012 · 5 comments
Open

answerObject say without speechbubble from siri #81

Martj89 opened this issue Jun 21, 2012 · 5 comments

Comments

@Martj89
Copy link

Martj89 commented Jun 21, 2012

Hey folks,

i use the answer Object for some answer and i want that siri read the text in the answerObject but only read it not show anything on the display only the answerObject with the WolframAlpha branding.

Is there any why to do this?

Best Regards

@Begall
Copy link

Begall commented Jun 21, 2012

Apologies if this was wrong but from what I remember I handled this through:

self.say(AnswerObjectHere, "SpeakableTextHere")

The speakable part needs to be a string rather than an answerobject.

@Martj89
Copy link
Author

Martj89 commented Jun 21, 2012

Hey Mate i just try

    exam = u'Hallo'
    Title = u'Das ist ein Test'
    view = AddViews(self.refId, dialogPhase="Completion")
    Answer = AnswerObject(title=Title,lines=[AnswerObjectLine(text=exam)])
    view1 = AnswerSnippet(answers=[Answer])
    view.views = [view1]

    self.say(Answer)

    self.sendRequestWithoutAnswer(view)
    self.complete_request()

but my springboard chrashes :(

@Begall
Copy link

Begall commented Jun 23, 2012

It should be (again iirc, I don't have access to my code right now):

self.say(self.sendRequestWithoutAnswer(view), "%s" %(exam))

@YoSev
Copy link

YoSev commented Jul 5, 2012

try:
self.say("", "text to say")

@Martj89
Copy link
Author

Martj89 commented Jul 5, 2012

Nope thats will display a empty bubble :D

but i have a solution.... UIRepeatIt() :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants