[Libreoffice-commits] .: Branch 'feature/android' - vcl/android

Tor Lillqvist tml at kemper.freedesktop.org
Thu Jan 26 08:10:46 PST 2012


 vcl/android/androidinst.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit d044d38d32e86fae0184890e19de3dbcb2ab477d
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Thu Jan 26 18:10:25 2012 +0200

    Add reply to question in comment;)

diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 8235603..9791dbf 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();


More information about the Libreoffice-commits mailing list