Android Question [SOLVED] MaterialDateTimePicker is buggy when used with TalkBack

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

I love the MaterialDateTimePicker but it's buggy when TalkBack is turned on. When the time picker is called with TalkBack on, it speaks 16:30 for the initial time of 04:30 and doesn't allow the circle selector to be moved easily.

Is there an update to this library or another one that's compatible with TalkBack?
 

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Don,

Is there a native Android time picker I can use if the user is using TalkBack? Maybe something like this default Samsung S8 time picker?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
It is Dialogs library (already installed with b4a)

B4X:
Sub Activity_Click
    Dim td As TimeDialog
    td.TimeTicks = DateTime.Now
    td.Is24Hours = True
    Dim sf As Object = td.ShowAsync("", "Select time", "Yes", "", "Cancel", Null, False)
    Wait For (sf) Dialog_Result(Result As Int)
    If Result = DialogResponse.POSITIVE Then
        Log(DateTime.Time(td.TimeTicks))
    End If
End Sub
 
Last edited:
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User

Hi Don,

Thanks for the coding sample.

I looked at the library manager and did not find anything listed as Dialogs, TimeDialog or anything with time in it. Where can I download the library that contains TimeDialog?
 

Attachments

  • Screenshot 2018-11-29 at 13.18.01.png
    66.9 KB · Views: 278
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…