diff --git a/contrib/mobile/Android/src/org/geuz/onelab/AboutActivity.java b/contrib/mobile/Android/src/org/geuz/onelab/AboutActivity.java index ab8d73c24e60583f3d419e4ca80655cb3a1a1342..d289e685f3195ccec7f5a5210b2994345fa3efe3 100644 --- a/contrib/mobile/Android/src/org/geuz/onelab/AboutActivity.java +++ b/contrib/mobile/Android/src/org/geuz/onelab/AboutActivity.java @@ -22,8 +22,9 @@ public class AboutActivity extends Activity{ catch (android.content.pm.PackageManager.NameNotFoundException e) { aboutOnelab += "Version ?.?.?"; } - aboutOnelab += "<p>Copyright (C) 2014<br>Maxime Graulich and Christophe Geuzaine, University of Liège</p>"; + aboutOnelab += "<p>Copyright (C) 2014 Christophe Geuzaine and Maxime Graulich, University of Liège</p>"; aboutOnelab += "<p>Visit <a href=\"http://onelab.info/\">http://onelab.info/</a> for more information</p>"; + aboutOnelab += "<p>This version of Onelab/Mobile contains:</p>"; webview.loadDataWithBaseURL("", aboutOnelab + aboutGmsh + aboutGetDP, "text/html", "UTF-8", ""); setContentView(webview); } diff --git a/contrib/mobile/androidGModel.cpp b/contrib/mobile/androidGModel.cpp index f7aef4cf93330fbb7cc3e12dc5e371eb57b9a2ef..3df9cb27f10fe9ad63e17f9ec50c066694dabc19 100644 --- a/contrib/mobile/androidGModel.cpp +++ b/contrib/mobile/androidGModel.cpp @@ -335,42 +335,28 @@ extern "C" { (JNIEnv *env, jclass c) { std::ostringstream sstream; - sstream << "<center><h3>Gmsh</h3><br>version " << GMSH_VERSION - << "<p>Copyright (C) 1997-2014" - << "<br>Christophe Geuzaine and Jean-Francois Remacle" + sstream << "<center><h3>Gmsh</h3>" + << "Version " << GMSH_VERSION << " " + << "(<i>Build date:</i> " << GMSH_DATE << ")" + << "<p>Copyright (C) 1997-2014 Christophe Geuzaine and Jean-François Remacle</p>" << "<p><a href=\"http://geuz.org/gmsh/doc/CREDITS.txt\">Credits</a> " - << "and <a href=\"http://geuz.org/gmsh/doc/LICENSE.txt\">licensing " - << "information</a>" - << "<p>Please send all questions and bug reports to " - << "<a href=\"mailto:gmsh@geuz.org\">gmsh@geuz.org</a></center>" - << "<ul>" - << "<li><i>Build OS:</i> " << GMSH_OS - << "<li><i>Build date:</i> " << GMSH_DATE - << "<li><i>Build options:</i>" << GMSH_CONFIG_OPTIONS - << "</ul>" - << "<center>Visit <a href=\"http://geuz.org/gmsh/\">http://geuz.org/gmsh/</a> " - << "for more information</center>"; + << "and <a href=\"http://geuz.org/gmsh/doc/LICENSE.txt\">licensing information</a></p>" + << "<p><i>Build options:</i> " << GMSH_CONFIG_OPTIONS << "</p>" + << "<p>Visit <a href=\"http://gmsh.info\">http://gmsh.info</a> for more information</p></center>"; return env->NewStringUTF(sstream.str().c_str()); } JNIEXPORT jstring JNICALL Java_org_geuz_onelab_Gmsh_getAboutGetDP (JNIEnv *env, jclass c) { std::ostringstream sstream; - sstream << "<center><h3>GetDP</h3><br>version " << GETDP_VERSION - << "<p>Copyright (C) 1997-2014" - << "<br>Christophe Geuzaine and Patrick Dular, University of Liège" + sstream << "<center><h3>GetDP</h3>" + << "Version " << GETDP_VERSION << " " + << "(<i>Build date:</i> " << GETDP_DATE << ")" + << "<p>Copyright (C) 1997-2014 Patrick Dular and Christophe Geuzaine, University of Liège</p>" << "<p><a href=\"http://geuz.org/getdp/doc/CREDITS.txt\">Credits</a> " - << "and <a href=\"http://geuz.org/getdp/doc/LICENSE.txt\">licensing " - << "information</a>" - << "<p>Please send all questions and bug reports to " - << "<a href=\"mailto:getdp@geuz.org\">getdp@geuz.org</a></center>" - << "<ul>" - << "<li><i>Build OS:</i> " << GETDP_OS - << "<li><i>Build date:</i> " << GETDP_DATE - << "<li><i>Build options:</i>" << GETDP_CONFIG_OPTIONS - << "</ul>" - << "<center>Visit <a href=\"http://geuz.org/getdp/\">http://geuz.org/getdp/</a> " - << "for more information</center>"; + << "and <a href=\"http://geuz.org/getdp/doc/LICENSE.txt\">licensing information</a></p>" + << "<p><i>Build options:</i> " << GETDP_CONFIG_OPTIONS << "</p>" + << "<p>Visit <a href=\"http://getdp.info\">http://getdp.info</a> for more information</p></center>"; return env->NewStringUTF(sstream.str().c_str()); } }