android - In Java how to say speak/read instead of println/system.in -


just curious know take me have human capability java programs. display message use system.out.println , read user's input may use system.in. wondering if there way me system.out.speak() , system.hear();

if not possible java i'm okay learn other languages please help.

wondering if there way me system.out.speak() , system.hear();

literally, no.

  1. system.out printwriter , there no speak() method.
  2. there no system.hear() method.
  3. adding such methods entail hacking on standard system classes ... making resulting library "not java(tm)".

furthermore, there no standard apis in java libraries text speech or speech text. (and i'm not aware of other language offers functionality standard feature.)

however, i'm sure if looked hard enough find 3rd-party tools doing integrated java, 1 way or another.

update

in fact, have found standard android (as distinct java) apis this:


from design perspective, think better idea support kind of thing in os's user interface framework (where user can control it), , not embed in individual applications.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -