Merge pull request #5386 from osmandapp/WikipediaInContextMenu
Opening url in context menu
This commit is contained in:
commit
cdf5492445
1 changed files with 3 additions and 1 deletions
|
@ -301,7 +301,9 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
|||
WikipediaArticleWikiLinkFragment.showInstance(mapActivity.getSupportFragmentManager(), text);
|
||||
}
|
||||
} else {
|
||||
WikipediaDialogFragment.showInstance(mapActivity, amenity, text);
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.parse(text));
|
||||
v.getContext().startActivity(intent);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue