04-14-2014 04:42 PM
I was wondering, if I could place an menu item in native browser, which would appear after long clicking link. I noticed, that after installing Opera Mini there was an "Open in Opera Mini" option on link. I wanted to have my own menu item, so browser could send URL of link to my app.
Thanks in advance
04-15-2014 11:16 AM
Have a look at ApplicationMenuItem. You add these using ApplicationMenuItemRepository, and I think you will use MENUITEM_BROWSER to restrict the menu to just the Browser. I am not sure how you can find out the URL you want, never looked at that. You should also be aware that this menu items runs nder the control (context) of the Browser, so you might want to use something like a GlobalEvent to get control back into your own application context.