[MonoDevelop] Messagebox
Miljenko Cvjetko
mcvjetko at holisticware.net
Mon Nov 19 08:22:07 UTC 2012
Hi
On 2012.11.15 14:35, Jeff Stedfast wrote:
> You should probably ask on the Mono for Android mailing list.
>
> Unfortunately, no one on this list knows the answer to your question.
Maybe, but come occasionally.
Simon, really try other mailing list!
Android: AlertDialog
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.SetTitle(Android.Resource.String.DialogAlertTitle);
builder.SetIcon(Android.Resource.Drawable.IcDialogAlert);
builder.SetMessage("message");
builder.SetPositiveButton("OK", (sender, e) =>
{
callback(true);
});
builder.SetNegativeButton("NO", (sender, e) =>
{
callback(false);
});
Xamarin samples:
https://github.com/xamarin/monodroid-samples/blob/master/ApiDemo/App/AlertDialogSamples.cs
iOS Monotouch: UIAlertView
cheers
mel
>
> Jeff
>
> On Thu, Nov 15, 2012 at 6:54 AM, simoncanninginc
> <simoncanninginc at gmail.com <mailto:simoncanninginc at gmail.com>> wrote:
>
> With the SDK for Android, is there the equivalent of a Messagebox,
> that has a
> yes, no, cancel button, like the standard Messagebox in the
> Windows OS?
>
> If so, can someone please point me to some code as to how to use
> it? Or post
> some simple code in this forum post?
>
> thanks
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Messagebox-tp4657392.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at
> Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> <mailto:Monodevelop-list at lists.ximian.com>
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-
--
Miljenko Cvjetko dipl.ing. ET
Direktor/CEO
Projektant rjes(enja/Solution Architect
Razvojni programer/Senior developer
Voditelj projekta/Project Manager
IX juz(na obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://holisticware.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20121119/3e4fbd6d/attachment.html>
More information about the Monodevelop-list
mailing list