package anywheresoftware.b4a;
import android.app.AlertDialog;
import android.content.DialogInterface;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
@Author("wey")
@Version(1.00f)
@ShortName("dialogme")
public class dialogme {
private BA processBA;
public void dialogmmmmm(String title) {
AlertDialog.Builder builder = new AlertDialog.Builder(processBA.context);
builder.setTitle(title)
.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);
}
})
.setNegativeButton("no", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
processBA.raiseEvent2(dialog, false, "alert_onclick", false, 0);
}
});
builder.create();
builder.show();
}
}