Friday, February 28, 2014

Andorid code which is to achieve a class like the JS Confirm,. NET in the MessageBox? Thank you


As in JS code execution, confirmation of the encounter will let users write
if (confirm ("Confirm delete it?"))
{
/ / Execute
}
In the. NET code execution, let the user for confirmation encountered probably write
if (MessageBox.Show ("Confirm Delete it", ResultMessage.YesNo) == ResultMessage.Yes)
{
/ / Execute
}
-------------------------------
That in Java when I execute a piece of code to the user suddenly "yes" and "no" case
Android's code is how to write?

Thank you<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
AlertDialog
Reply:
java can AlertDialog, if the webview, then you can achieve with js

No comments:

Post a Comment