From d044d38d32e86fae0184890e19de3dbcb2ab477d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 26 Jan 2012 18:10:25 +0200 Subject: Add reply to question in comment;) --- vcl/android/androidinst.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vcl/android') diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx index 82356033e48b..9791dbfcf255 100644 --- a/vcl/android/androidinst.cxx +++ b/vcl/android/androidinst.cxx @@ -421,6 +421,13 @@ int AndroidSalSystem::ShowNativeDialog( const rtl::OUString& rTitle, if (AndroidSalInstance::getInstance() != NULL) { // Does Android have a native dialog ? if not,. we have to do this ... + + // Of course it has. android.app.AlertDialog seems like a good + // choice, it even has one, two or three buttons. Naturally, + // it intended to be used from Java, so some verbose JNI + // horror would be needed to use it directly here. Probably we + // want some easier to use magic wrapper, hmm. + ErrorBox aVclErrBox( NULL, WB_OK, rTitle ); aVclErrBox.SetText( rMessage ); aVclErrBox.Execute(); -- cgit