dexapier / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Nonblocking check for dialog results #501

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add a non-blocking function in the UiFacade to check if the current dialog has 
a result.

Currently the only way to access the dialog result is to call 
dialogGetResponse(), which blocks until the user closes the dialog.

It looks like the only source code changes would be to give FutureActivityTask 
an isDone() function that returns mResult.isDone(), and then a 
dialogHasResponse() or dialogPollResponse() or some such would call 
mDialogTask.isDone() to check if the dialog has finished.

Original issue reported on code.google.com by dplep...@gmail.com on 7 Jan 2011 at 5:32

GoogleCodeExporter commented 9 years ago
added "dialog" event when button presses or menu selected.

Original comment by rjmatthews62 on 9 Jan 2011 at 9:36

GoogleCodeExporter commented 9 years ago
dialog event implemented in sl4a_r4x

Original comment by rjmatthews62 on 17 Mar 2011 at 10:39