diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-26 18:10:25 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-26 18:10:25 +0200 |
commit | d044d38d32e86fae0184890e19de3dbcb2ab477d (patch) | |
tree | 1f095945a569542f44017eb87ab8cd81865d3500 /vcl | |
parent | Include the separate tag argument in the __android_log_print() calls (diff) | |
download | core-d044d38d32e86fae0184890e19de3dbcb2ab477d.tar.gz core-d044d38d32e86fae0184890e19de3dbcb2ab477d.zip |
Add reply to question in comment;)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/android/androidinst.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |