E-mail List Archives
Thread: Read dynamic content in Android with Talkback
Number of posts in this thread: 3 (In chronological order)
From: pratik roy
Date: Thu, Oct 31 2019 4:16PM
Subject: Read dynamic content in Android with Talkback
No previous message | Next message →
Hi Everyone,
I am working on a Native Android App where I need to notify user about a
change on the page. Normally what we do using aria-live or role=alert in
web. Is there anything like that available in Android Native?
Please let me know if anyone knows anything about it.
Thanks,
Pratik
--
Thanks & Regards
PRATIK ROY
From: Jonathan Avila
Date: Thu, Oct 31 2019 8:25PM
Subject: Re: Read dynamic content in Android with Talkback
← Previous message | Next message →
> Is there anything like that available in Android Native?
Yes, both Android and iOS support announcement of text through an API. Android also has live regions
Android announce string
announceForAccessibility(CharSequence text)
Convenience method for sending a AccessibilityEvent#TYPE_ANNOUNCEMENT AccessibilityEvent to suggest that an accessibility service announce the specified text to its users.
Android live regions
setLiveRegion
Added in API level 19
public void setLiveRegion (int mode)
Sets the node's live region mode.
Jonathan Avila
Level Access
From: pratik roy
Date: Sat, Nov 02 2019 1:53PM
Subject: Re: Read dynamic content in Android with Talkback
← Previous message | No next message
Thanks Jonathan, this would help.
Thanks & Regards
PRATIK ROY
On Thu, Oct 31, 2019 at 6:16 PM pratik roy < = EMAIL ADDRESS REMOVED = > wrote:
> Hi Everyone,
>
> I am working on a Native Android App where I need to notify user about a
> change on the page. Normally what we do using aria-live or role=alert in
> web. Is there anything like that available in Android Native?
>
> Please let me know if anyone knows anything about it.
>
> Thanks,
> Pratik
> --
> Thanks & Regards
> PRATIK ROY
>