diff --git a/android.html b/android.html index f1bdf9289..3ecb442aa 100644 --- a/android.html +++ b/android.html @@ -232,7 +232,7 @@ if (typeof Android!=="undefined") { if (writecb) setTimeout(writecb,10); }, close : function() {}, - on : function(evt,cb) { handlers[evt] = cb; }, + on : function(evt,cb) { connection.handlers[evt] = cb; }, received : "", hadData : false, handlers : []