Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11457] Android: Accessibility: System event "EVENT_ACCESSIBILITY_ANNOUNCEMENT" not working on Android ICS or lower

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-12-03T23:18:56.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2012 Sprint 25, 2012 Sprint 25 Core
ComponentsAndroid
Labelscore, qe-and100112, qe-nfc
ReporterNeha Chhabra
AssigneeIngo Muschenetz
Created2012-10-13T08:23:50.000+0000
Updated2013-11-07T18:33:18.000+0000

Description

System event "EVENT_ACCESSIBILITY_ANNOUNCEMENT" not working on Android ICS or lower. Steps To Reproduce: 1. Install and launch the app on device. 2. Click on "make announcement" button. Expected result: Announcement should be read aloud saying " Please stand by for an urgent message from the Department of Home Land Security. " Actual Result: No announcement happens. app.js
var win = Ti.UI.createWindow({
	title : 'Welcome',
	backgroundColor: "#fff"
});
	
var announceButton = Ti.UI.createButton({
	top: 50, width: 8 * 30, height: 48,
	title: "Make announcement"
});

announceButton.addEventListener("click", function() {
	Ti.App.fireSystemEvent(Ti.App.EVENT_ACCESSIBILITY_ANNOUNCEMENT,
						   "Please stand by for an urgent message from the Department of Home Land Security.");
});
win.add(announceButton);
win.open();

Attachments

FileDateSize
Android2.2.mp42012-10-15T13:11:40.000+00006997625
Android3.2.mp42012-10-15T13:11:40.000+00007721097

Comments

  1. Bill Dawson 2012-10-15

    Attached videos of me using it successfully in Android 3.2 (LG Slate) and Android 2.2 (HTC Desire) (I don't have ICS, only Jelly Bean, 3.2 and 2.2).
  2. Satyam Sekhri 2012-10-18

    The code above does not work on Samsung Galaxy Tab (v3.2) with Talk Back ON and Eyes Free Keyboard. Also does not work on Galaxy Nexus (v4.0.4) and HTC Desire V (v4.0.3).
  3. Bill Dawson 2012-10-18

    @Ingo: I guess someone in the office with access to a Galaxy Tab running 3.2, and a Galaxy Nexus with 4.0.4 or Desire V with v4.0.3 will need to confirm and work on this.
  4. Bill Dawson 2012-10-18

    I'm sorry, apparently you need the latest version of TalkBack from the Play Store for this to work. I apparently installed that on my older devices while I was first working on this, but I forgot about it. Satyam could you do that and try again? Thank you. I will also update documentation and submit a documentation Pull Request for this ticket, so please keep this open even if you find out that it works.
  5. Satyam Sekhri 2012-11-07

    Checked the issue with updated version of Talk Back. The issue does not exist after updating the Talk Back on Samsung Galaxy Tab (v3.2) and Galaxy Nexus (v4.0.4).
  6. Allen Yeung 2012-12-03

    Needed the latest version of talkback for this to work.
  7. Paras Mishra 2013-04-18

    Working as expected with latest talkback installed on device and cannot reproduce issue. Hence closing the issue. Verified on: Device: Samsung Galaxy Note, Android version: 2.3.6 SDK: 3.1.0.GA CLI version : 3.1.0-cr OS : MAC OSX 10.7.5 Titanium Studio, build: 3.1.0.201304151600 XCode : 4.5.1

JSON Source