1. Are you ready for the Galaxy S20? Here is everything we know so far!

RECOGNIZE_SPEECH (asking 2 items)

Discussion in 'Android Development' started by egsimo, Dec 2, 2019.

  1. egsimo

    egsimo Lurker
    Thread Starter

    1) This android site:


    ..has the references to speech recognition.

    Straight to the point, why does it says "Constants", As I see (the way I know) this defines a "Method". Could some one release me from my confusion? Wich gould be the right use of "ACTION_RECOGNIZE_SPEECH"?

    2) This "ACTION_RECOGNIZE_SPEECH" starts an activity, so how can I exctract it, to not to repeat code, writing it each time I need it? Shoul I use EXTRA_RESULTS_PENDINGINTENT instead?



Share This Page