[TIMOB-11457] Android: Accessibility: System event "EVENT_ACCESSIBILITY_ANNOUNCEMENT" not working on Android ICS or lower
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-12-03T23:18:56.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2012 Sprint 25, 2012 Sprint 25 Core |
Components | Android |
Labels | core, qe-and100112, qe-nfc |
Reporter | Neha Chhabra |
Assignee | Ingo Muschenetz |
Created | 2012-10-13T08:23:50.000+0000 |
Updated | 2013-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
File | Date | Size |
---|---|---|
Android2.2.mp4 | 2012-10-15T13:11:40.000+0000 | 6997625 |
Android3.2.mp4 | 2012-10-15T13:11:40.000+0000 | 7721097 |
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).
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).
@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.
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.
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).
Needed the latest version of talkback for this to work.
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