Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2359] Android: Titanium.App.addEventListener don't work

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-06-05T20:23:38.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsapi
Reporterloomochina
AssigneeIngo Muschenetz
Created2011-04-15T03:17:42.000+0000
Updated2017-06-05T20:23:38.000+0000

Description

1)Titanium.App.addEventListener('doTakePicture1', function(e) {

                                                    alert("doTakePicture1 real");

});

2)Titanium.App.addEventListener('doTakePicture', function(e) {
alert("doTakePicture");
});

拍照
登 陆

Call1 can call 2 error
error:

D/WebCore ( 983): Console: ReferenceError: Can't find variable: onTakePicture1 line: 44 source:

Comments

  1. Stephen Tramer 2012-07-26

    Log message indicates this is an Android bug.
  2. Lee Morris 2017-06-05

    This is not our bug but an Android bug.

JSON Source