I am very new to android, and am still learning and trying out different features. I am having trouble with getting a timepickerdialog to appear when a button is pressed, and when pressing ok in the dialog, setting the selected date to a textview. I have read and tried the documentation, to no avail (the commands in the documentation are deprecated). Any help regarding this issue is much appreciated.
(I'm sorry that I dont have a copy of my code, my code is on my laptop which isn't with me during the time being)