+ return true;
+ } else if (menuItemId == R.id.save_archive) {
+ /* TODO.
+ try {
+ // Create an MHT file.
+ File mhtFile = File.createTempFile("mht_file", ".mht", getCacheDir());
+
+ // Populate the MHT file.
+ currentWebView.saveWebArchive(mhtFile.toString());
+
+ // Check the file length.
+ Log.i("MHT", "MHT file size: " + mhtFile.length());
+ } catch (Exception exception){
+ Log.i("MHT", "MHT exception: " + exception.toString());
+ }
+
+ */
+