Lua on Android: Comment character

Posted by markus_b on Stack Overflow See other posts from Stack Overflow or by markus_b
Published on 2010-03-29T12:20:23Z Indexed on 2010/03/29 12:23 UTC
Read the original article Hit count: 361

Filed under:
|
|

I have a tiny LUA script which is supposed to disable call forwarding:

require 'android'

android.dialNumber('*21#')

The problem is that the script only dials '*21' and omits the '#' character. Playing around It looks to me like the # character is treated as comment character as everything after it is ignored. I've tried singel and double quotes, escaping, \023, but nothing works.

How can I dial '*21#' on android with LUA ?

© Stack Overflow or respective owner

Related posts about android

Related posts about lua