#If JAVA
import android.content.DialogInterface;
import android.app.AlertDialog;
public void txs() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("You Are Welcome")
.setMessage("Txs for Inline Erel ;-)")
.setPositiveButton("yes", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
processBA.raiseEvent2(dialog, false, "alert_onclick", false, 1);
processBA.Log("Positive");
}
})
.setNegativeButton("no", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
processBA.Log("Negative");
processBA.raiseEvent2(dialog, false, "alert_onclick", false, 0);
}
});
builder.create();
builder.show();
}
#end if
Sub Alert_OnClick(value As Int)
Log($"Alert_OnClick(${value})"$)
End Sub