How can I open a dialog with some html formatting and hypertext link support (open that link in default browser), when I click on item: "ABOUT" in my dynamically created menu? Also, how I can make SHARE function, so that if anybody click on: "SHARE" item, it will either share link to that APK, or send it over bluetooth?
This is what I have in MainActivity:
private static final int NEW_MENU_ID=Menu.FIRST+1;
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
menu.add(0, NEW_MENU_ID, 0, "ABOUT");
menu.add(0, NEW_MENU_ID, 0, "SHARE");
return true;
}
And this is how it should look like:
Thanks for help!