Original Author Paul Laughton, 2011
Page 15
De Re BASIC!
Ringer.set.mode <nexp> ....................................................................................................................... 135
Ringer.get.volume <vol_nvar> { , <max_nvar> } ................................................................................... 135
Ringer.set.volume <nexp> .................................................................................................................... 135
String Operations ...................................................................................................................................... 136
Join <source_array$[]>, <result_svar> {, <separator_sexp>{, <wrapper_sexp}} .................................. 136
Join.all <source_array$[]>, <result_svar> {, <separator_sexp>{, <wrapper_sexp}} ............................. 136
Split <result_array$[]>, <sexp> {, <test_sexp>} .................................................................................... 136
Split.all <result_array$[]>, <sexp> {, <test_sexp>}................................................................................ 136
Speech Conversion .................................................................................................................................... 137
Text To Speech ...................................................................................................................................... 137
TTS.init .............................................................................................................................................. 138
TTS.speak <sexp> {, <wait_lexp>} ..................................................................................................... 138
TTS.speak.toFile <sexp> {, <path_sexp>} .......................................................................................... 138
TTS.stop ............................................................................................................................................. 138
Speech To Text (Voice Recognition)...................................................................................................... 138
STT.listen {<prompt_sexp>} .............................................................................................................. 138
STT.results <string_list_ptr_nexp> ................................................................................................... 139
Information About Your Android Device .................................................................................................. 140
Device Command Overview .................................................................................................................. 140
Device <svar> .................................................................................................................................... 141
Device <nexp>|<nvar> ...................................................................................................................... 141
Device.Language <svar> .................................................................................................................... 141
Device. Locale <svar> ........................................................................................................................ 142
Phone.info <nexp>|<nvar> ................................................................................................................... 142
Screen rotation, size[], realsize[], density ............................................................................................. 143
Screen.rotation <nvar> ......................................................................................................................... 144
Screen.size, size[], realsize[], density .................................................................................................... 144
WiFi.info {{<SSID_svar>}{, <BSSID_svar>}{, <MAC_svar>}{, <IP_var>}{, <speed_nvar>}} ..................... 144
Running in the Background ....................................................................................................................... 145
Home ..................................................................................................................................................... 145
OnBackground: ..................................................................................................................................... 145
Background.resume .......................................................................................................................... 145