application -->
<string name="contextmenu_map">Map</string>
+ <!-- Title of the dialog used for selecting the application that should be
+ used for sharing a link (e.g. Gmail or another app). See also
+ contextmenu_sharelink above -->
+ <string name="choosertitle_sharevia">Share via</string>
+
<!-- Used as the title of dialogs in the Browser Settings confirming that
the user wants to clear (cache, history, or cookie data) -->
<string name="clear">Clear</string>
break;
case R.id.share_page_menu_id:
- Browser.sendString(this, getTopWindow().getUrl());
+ Browser.sendString(this, getTopWindow().getUrl(),
+ getText(R.string.choosertitle_sharevia).toString());
break;
case R.id.dump_nav_menu_id:
startActivity(intent);
break;
case R.id.share_link_context_menu_id:
- Browser.sendString(BrowserActivity.this, url);
+ Browser.sendString(BrowserActivity.this, url,
+ getText(R.string.choosertitle_sharevia).toString());
break;
case R.id.copy_link_context_menu_id:
copy(url);
openInNewWindow(i.position);
break;
case R.id.share_link_context_menu_id:
- Browser.sendString(BrowserBookmarksPage.this, getUrl(i.position));
+ Browser.sendString(BrowserBookmarksPage.this, getUrl(i.position),
+ getText(R.string.choosertitle_sharevia).toString());
break;
case R.id.copy_url_context_menu_id:
copy(getUrl(i.position));
}
return true;
case R.id.share_link_context_menu_id:
- Browser.sendString(this, url);
+ Browser.sendString(this, url,
+ getText(R.string.choosertitle_sharevia).toString());
return true;
case R.id.copy_url_context_menu_id:
copy(url);