Well, it could be my lack of understanding/knowledge of where the
accessibility events come from - or would come from once Toast becomes
accessible. If it suffices that I just override the TextView in my
custom toast XML that my Toast is set to via setView(), then I can eat
all accessibility events in "myTextView" and I would be fine with the
current Android versions. I am not aware of documentation that
clarifies what accessibility events get passed where as needed to know
what to override for a future proof implementation.
Thanks
On Jul 25, 5:32 pm, Nolan Darilek <
no...@thewordnerd.info> wrote:
> It's disheartening to learn that this isn't fixed in 3.2, given that I
> reported it over a year ago and was told that an issue was filed. I
> can't find the message in eyes-free, but recall the context. I was
> starting work on my navigation app whose first check-in was in June of
> '10, and noticed right away that toasts weren't speaking. That's how I
> was informed about NOTIFICATION_STATE_CHANGED not generating for
> notifications without icons. As an aside, is there a way to search
> Groups for messages older than a year? This isn't the first time I fail
> to find threads I have specific memories of from nearly or over a year
> ago, and my memory is pretty good.
>
> This doesn't strike me as a hugely complicated issue, so I'm surprised
> it wasn't resolved in 2.3 much less 3.2.
>
> On 07/25/2011 10:19 AM, blindfold wrote:
>
>
>
>
>
>
>
> > Hi Dominic,
>
> >Toastis not currently a subclass of AccessibilityEventSource even in
> > Android 3.2. Will you be changing that? I was trying to override
> > future accessibleToasthandling, because The vOICe for Android
> > already speaks its ownToastmessages by encapsulatingToastmessage
> > and speech of same message, and should not get double speech once
> > Android adds accessibility forToastmessages. Basically I intended to
> > suppress (future) accessibility events fromToastmessages. Now it
> > looks like I cannot make my app future proof.
>
> > Thanks
>
> > On Jul 19, 7:09 pm, Dominic Mazzoni<
dmazz...@google.com> wrote:
> >> Hi -
>
> >> Just to let you know, we've identified this bug in the Android source. We
> >> can't do anything for existing phones, but we'll make sure toasts generate
> >> accessibility events in future versions. Thanks.
>
> >> - Dominic
>
> >> On Mon, Jul 18, 2011 at 3:31 PM, Nolan Darilek<
no...@thewordnerd.info>wrote:
>
> >>> Although, he is right, toasts don't speak. Looking through the framework
> >>> code at one point, it seemed like AccessibilityEvents just weren't being
> >>> raised when a notification lacked an icon. I'm not clear on the reasoning
> >>> behind that design decision, but I think an issue was filed about a year or
> >>> so ago. I hope it gets fixed, as toasts are a pretty common way of conveying
> >>> notifications, and common things should be accessible.
> >>> Good luck.
> >>> On 07/18/2011 04:38 PM, Cheryl Simon wrote:
> >>> Hi Brian,
> >>> TalkBack talks in response to AccessibilityEvent messages that are sent to
> >>> it via the AccessibilityManager. Thus in order to get it to talk, you need
> >>> to cause an AccessibilityEvent to be emitted that it can understand.
> >>> You can see some more information on the types of accessibility events
> >>> here:
> >>>
http://developer.android.com/guide/practices/design/accessibility.htm...
> >>> in the AccessibilityEvent javadoc:
> >>>
http://developer.android.com/reference/android/view/accessibility/Acc...
> >>> Probably the easiest way to get it to speak a message would be to add a
> >>> focusable item to the view, like a TextView with Focusable=true and set the
> >>> focus to that item. I think this should cause the TYPE_VIEW_FOCUSED event
> >>> to be fired, and the contents of the TextView should be spoken.
> >>> On Mon, Jul 18, 2011 at 2:30 PM, Brian O'Dell<
briantod...@gmail.com>wrote:
> >>>> Hello,
> >>>> I'm writing an Android app, for people with sight impairment, that
> >>>> needs to tell the user that a server is unavailable. My first thought
> >>>> was to use atoastpop up, but Talkback doesn't read it. After some