Extension of context Menu of existing applications

Hello

Is it possible to create an application that allows to extend the context menu of existing applications.

for example to extend the popup browser so that if a user selects a word in a browser tab, a custom menu option will be visible that allows the user to perform actions on the selected word, expression etc...

Or even more generic if any word/phrase is selected the custom menu option becomes visible.

If the user selects the custom menu option, the application is launched to handle this action.

Is this possible in webworks?

Native API?

Thanx, h.

N °

Tags: BlackBerry Developers

Similar Questions

  • Open with... Disorders of context Menu! Any Solution?

    Hi all

    When I right click, then 'open with', I get a slew of different applications, some of which are not yet in my Applications! Even after the use of the common terminal fix for duplicates, this problem is back yet. Does anyone know if there is a way to change or limit where the context menu is for applications? I think that it is the search for my backups and legacy applications on my server storage for these applications because they are not in my Applications folder.

    Thanks for the solution!

    Although the problem is not the same, please follow the instructions in this article to support to reset the launch Services database. Instead of typing the shell command in the article, I suggest that you copy and paste the web page in the Terminal window. Make sure you only select the entire line. One way to do that is triple - click anywhere in the line.

    If you do not already have a current backup, back up all data before proceeding. You should perhaps log out or restart to see a change.

  • Context menu when I click on a button.

    Hello

    I have a class that extends the screen and I crushed MakeMenu() I want to create a custom menu when I press "menu".

    My problem is that when I click on a button on the screen of my program is all what need then after all that it displays a context menu with options {Application Switch |} My menu | Full menu}

    This is my replacement of makeMenu(). Note: If I remove my call menu.add is solved the problem. But obviously I need the item in the full menu and no popup.

    Thanks in advance

    public void makeMenu(Menu menu, int instance) {
        super.makeMenu(menu, instance);
        menu.add(new MenuItem(new StringProvider("Settings"), 110, 10) {
            public void run() {
                SettingsHome setScr = new SettingsHome();
                UiApplication.getUiApplication().pushScreen(setScr);
            }
        });
    }
    

    You don't have to set these fields.

    The operating system takes care of it:

    public void makeMenu(Menu menu, int instance) {
        super.makeMenu(menu, instance);if(instance == Menu.INSTANCE_DEFAULT){ menu.add(new MenuItem(new StringProvider("Settings"), 110, 10) {
            public void run() {
                SettingsHome setScr = new SettingsHome();
                UiApplication.getUiApplication().pushScreen(setScr);
            }
        });
    }}
    

    E.

  • How to create the context menu PlayBook under WebWorks

    I searched for hours and I can't find any guidance on how to create a context menu for an application PlayBook WebWorks. I refer the menu which is supposed to appear when you drag to the bottom of the top. I tried to use logical blackberry.ui.menu, but it seems that the functionality of the user interface is not yet available for the PlayBook.

    BlackBerry World, they stressed that it is an important aspect of any application PlayBook so there must be a way to do it. Can someone give me a little push in the right direction?

    -Thanks!

    If you referring to the menu that goes down when a user slips to the bottom of the upper part of the PlayBook, please see this for an example application.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/sample-code-swipe-down-menu-for-...

  • Remove items from a context Menu added by an application

    I have an application installed on my Mac OS X El Capitan of synchronization of folders for a Synology NAS I have on my network.  This app has added a series of commands "copy to...". "in the menu contextual (right-click) to files and folders.  He also added a button in the finder window next to the search box that provides the same list of commands "copy to...". "If selected.  These are useless for me and background image upward with the context menu I use all the time for orders as open, open with, get info, etc.

    I asked Synology on this subject and they have no solution.  Their application must put those orders somewhere that the operating system is to make them.  Anyone know where it is and if it is possible to delete or prevent them to appear?

    I found this genre of similar issues related to standard orders of Mac it will the elements keyboard/shortcuts/service instructions and unchecking the list it.  But these commands are not displayed here.  If this seems not to be the solution.

    Any help is appreciated.

    Thank you

    Mark

    Have you tried in

     > system... Preferences > Extensions > here?

  • I use Firefox for a kiosk application. Can I disable the context menu and zoom?

    I use Firefox for an application kiosk on a touch screen monitor. I will prevent users from interacting with the browser interface. Is there a way to do this? Disable the context menu and zoom for the touch gestures could prevent users from getting into a State where they are unable to use the application.

    Hi TrevorTubbs, you can disable the zoom in the browser with the method described in http://kb.mozillazine.org/Locking_preferences & locking these preferences:

    lockPref("toolkit.zoomManager.zoomValues"; "1");
    lockPref("zoom.maxPercent"; 100);
    lockPref("zoom.minPercent"; 100);
    

    I'm not sure if disabling the context menu...

  • Application crashes by exiting the application through controls dial with the context menu open

    Hi, I have a weird problem which I don't know even where start problems.

    When inside the user application appears menu contextual and with open context menu press the dial button on hang up button the application leaves as planned, but as he tried to return to the app, it freezes and you have to hard reset the phone (tour market)

    He can't get on the emulator.

    Confirmed the "BOLD", storm and curve.

    You go out via UiApplication.deactivate () and re - enter via UiApplication.activate ().

  • Impossible to remove an application from the context menu

    \

    64-bit Windows 8

    Cannot delete an application (Magic ISO) from the context menu, even if the Application is to uninstall programs
    How to remove the context menu?

    Try these tools:
    http://www.NirSoft.NET/utils/shexview.html
    and
    http://www.NirSoft.NET/utils/shell_menu_view.html

  • How to display the context menu using javascript in application of apex

    Hi all

    y at - it someone who has set up a context menu using javascript in its request for apex. We may be able to open other pages I need when clicking on items in the context menu.

    Please answer as soon as possible. I will be very grateful to you all.

    Published by: user12259335 on November 23, 2009 01:18

    Hello
    Sorry, you are right, I don't send you all the :), but I have a request - could you just give me your email address to send you the code.
    Tahnks

  • Firefox devouring 2 GIS of RAM, getting slow context menu

    Ive tried everything in firefox so far, but simply not working for me

    i disabled addons manually to see whats gobbling up so much ram but nothing, i upgraded, downgraded all the plugins and nothing either (the new flash plugin was giving me issues so now im on an older one btw, was still having issues with recent flash version so thats not it) i added addons that supposedly reduce ram usage but nothing
    

    I have enabled and disabled hardware acceleration but nothing either

    I deleted the cache and everything that firefox can clear except browsing history but nada

    I used speedfox to try and possibly difficulty this inconvenience, but nothing

    I've updated, downgraded and basically did everything possible with the drivers for my computer but nothing either

    Firefox is all designed to be like that and behave like an app which does not release its RAM after its used? in the Task Manager its show me anywhere between 1.2 GB of RAM used or more 2 GB! This is not normal, especially since I was only 4 light tabs open, all this and to add the context menu loading when I right-click is slow as molasses

    Please, please, can someone just help me out here? I've added a newspaper thing that could possibly help, idk whats even carried out more of that, one day firefox was large and using no more than 1 GB in total with more than 100 open tabs but now with 4 right after firefox was open for a long time his consuming a quarter of my total RAM for a browser that's a little crazy especially that in the days, I used to use Opera itd use not more than 800 MB at least

    Have you tried a new profile with extensions less?

    I do not expect a profile for "sour go" in 4 months, but many installed extensions (enabled or disabled) and how much others who were tried, found unfit and then uninstalled, who can understand what went wrong and why?

    Extensions uninstall cleanly, most or all of the preferences created are left after the extension is uninstalled. Who can or "clog" the prefs.js file, and can affect other extensions. With issues I personally had in the past, I save the profile before you install an extension that I've not used before or want to try. If this 'new' extension does meet my needs or causes problems with existing extensions, I wouldn't waste my time to uninstall this 'new' extension and then find maybe I ' fixin got more to do. " I just deleted this profile I just break off and drag the backup of this profile in place!

    Regarding the total number of extensions, I use several profiles who all my "28 basic extensions ' and then install the appropriate extensions for each of these profile for use on the internet.

    1 banking - security type extensions AND automatic erasure of the data of Firefox I started closing the browser (total 35 extensions) = launched by a keypad created using the Windows key, so that no one else using my PC won't even has a profile on this PC

    2 ' default' profile - used to advertise the default browser links - just the basic 28 extensions

    3. general surfing - a total of 55 extensions
    4. support - used on support forum and discussion websites - total of 49 extensions

    5 web development - used for the display of Web sites from the point of view of trying to understand why a Web site "does not work in Firefox, but done in Chrome / IE / Safari - extensions of 45 in total.

    See my next assignment for "advice", I'll probably max on this "response" where characters allowed.

    Ed

    Change, I've marked this as the thread solution. The real solution to the OP is in suite on wire/issues/979200. Apparently just disable two of the very many addons solves the problem. ~ J99

  • the notebook disappeared from the context menu

    Hello!

    I need help. the notebook went on the shortcut menu. From the desktop, when I right click and select new, the notebook disappeared and was replaced by newspaper.

    Hello

    You have new text Document? It is Notepad.

    Troubleshooting problems of contextual Menu (right click) are a process of eliminating exercise.

    http://WindowsXP.MVPs.org/slowrightclick.htm
    and here:

    http://WindowsXP.MVPs.org/context_folders.htm

    The ShellExView utility displays the details of shell extensions installed on your computer, and
    allows you to enable and disable easily each shell extension.
    http://www.NirSoft.NET/utils/shexview.html

    ShellMenuView is a small utility that displays the list of menu items which appeared in the
    context menu when you right click on a file/folder in Explorer Windows and allows you to easily
    disable unwanted menu items.
    http://www.NirSoft.NET/utils/shell_menu_view.html

    How to change or remove items from the right click Menu.
    http://www.WinVistaClub.com/E11.html

    Add any Application to the desktop in Vista right click Menu
    http://www.howtogeek.com/HOWTO/Windows-Vista/add-any-application-to-the-desktop-right-click-menu-in-Vista/

    How to add a program to open it with Vista
    http://www.Vistax64.com/tutorials/126340-open-add-program.html

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • (bb10) How to cancel an opening from context menu

    I have a strange behavior with context menus.

    I have two lists in my application with two context menus, a menu for each list.

    I have a logic to determine if the popup should be launched or not, and if I don't stop ContextMenuEvent.OPENING event, this menu is not started. Fine. But after that, the menu popup stops working for the other list.

    I think that something in the ContexMenu classes must be left in a bad state after preventDefault on the opening ceremony.

    What will be the best way to stop to open a context menu and still works for the other components?

    See the example...

    package
    {
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
    
        import qnx.fuse.ui.actionbar.ActionBar;
        import qnx.fuse.ui.core.Action;
        import qnx.fuse.ui.core.ActionBase;
        import qnx.fuse.ui.core.ActionSet;
        import qnx.fuse.ui.core.TabAction;
        import qnx.fuse.ui.events.ContextMenuEvent;
        import qnx.fuse.ui.events.DragEvent;
        import qnx.fuse.ui.listClasses.List;
        import qnx.ui.data.DataProvider;
    
        public class TestPush extends Sprite
        {
            private var actionBarOverflow:Sprite;
            private var content:Sprite = new Sprite();
    
            private var slideX:Number = 0;
    
            public function TestPush()
            {
    
                super();
    
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.addEventListener( Event.RESIZE, function( e:Event ):void
                {
                    actBar.y = stage.stageHeight - actBar.height;
                } );
    
                content.addChild( new Bitmap( new BitmapData( stage.stageWidth, stage.stageHeight, false, 0xffffff ) ) );
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                var dp:DataProvider=new DataProvider();
                dp.addItem({"label":"item1"});
                dp.addItem({"label":"item2"});
                dp.addItem({"label":"item3"});
                dp.addItem({"label":"item4"});
                dp.addItem({"label":"item5"});
                dp.addItem({"label":"item6"});
                dp.addItem({"label":"item7"});
                dp.addItem({"label":"item8"});
                dp.addItem({"label":"item9"});
                dp.addItem({"label":"item10"});
                var list:List=new List();
                list.dataProvider=dp;
    
                actionBarOverflow = new Sprite();
    
                var actBar:ActionBar=new ActionBar();
                actBar.showTabsFirstOnBar(false);
                actBar.reserveActionSpace(true);
                actBar.backButton = null; 
    
                actBar.tabOverflowParent = actionBarOverflow;
                actBar.width=stage.stageWidth;
                actBar.showTabsFirstOnBar(false);
                actBar.addAction(new TabAction("TEST"));
                actBar.addAction(new TabAction("TEST2"));
                actBar.addAction(new Action("Test1"));
                actBar.addAction(new Action("Test2"));
                actBar.addAction(new Action("Test3"));
    
                var list2:List=new List();
                list2.dataProvider=dp;
    
                addChild(actionBarOverflow);
                addChild( content );
                content.addChild(list);
                content.addChild(list2);
                content.addChild(actBar);
    
                actBar.x=0;
                actBar.y=stage.stageHeight-actBar.height;
    
                list.width=list2.width=stage.stageWidth;
                list.x=list2.x=0;
                list.height=(stage.stageHeight-actBar.height)/2;
                list2.height=(stage.stageHeight-actBar.height)/2;
                list.y=0;
                list2.y=list.height;
    
                list.addEventListener(ContextMenuEvent.OPENING, contextOpening);
    
                var actionsForBar:Vector. = new Vector.;
                actionsForBar.push(new ActionBase("Action 1"));
                actionsForBar.push(new ActionBase("Action 2"));
                var actionset:ActionSet=new ActionSet(actionsForBar);
                var contextactions:Vector.=new Vector.();
                contextactions.push(actionset);
    
                var actionsForBar2:Vector. = new Vector.;
                actionsForBar2.push(new ActionBase("Action 3"));
                actionsForBar2.push(new ActionBase("Action 4"));
                var actionset2:ActionSet=new ActionSet(actionsForBar2);
                var contextactions2:Vector.=new Vector.();
                contextactions2.push(actionset2);
    
                list.contextActions=contextactions;
                list2.contextActions=contextactions2;
    
                actBar.addEventListener( DragEvent.DRAG_MOVE, onDragMove );
            }
    
            private function contextOpening(e:ContextMenuEvent):void{
                trace("CANCEL OPENING");
                e.preventDefault();
            }
    
            private function onDragMove( event:DragEvent ):void
            {
                slideX += event.deltaX;
                content.x = Math.round( slideX + stage.stageWidth );
            }
        }
    }
    

    Although strobejb could be a solution, it involves a lot of changes to my code at the moment, but I think I found a good solution.

    Instead of dealing with ContextMenu I forget and override onLongPress extension from the list.

    override protected function onLongPress (): void {}

    }

    And if I have to display the context menu I can make inside the method with:

    showContextMenu()

  • How to add commands to the context menu for the types of files (add associations)?

    I would like to download anime and re - encode standard dvd (mpeg2) format before you burn it to a DVD for better quality.  I have a program suite that supports the grunt work, but to do a contextual menu command that calls the original batch file that the user must manually add it to the menu of context by file association.  I found that I can access the menus of file associations, but the option to add a new association with an existing file type does not seem to exist.  Is there a registry entry, I need to change or add to allow me to customize my context menus in Windows 7?

    Create a text file (make sure you have the framework where you DO NOT hide known file extensions unmarked)

    Change the new text file... Copy the following: [quote]

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\WMP11. AssocFile.AVI\shell\Queue for encoding]
    @= "& Queue for encoding.

    [HKEY_CLASSES_ROOT\WMP11. AssocFile.AVI\shell\Queue for Encoding\command]
    "@="c:\\dvdstudio\\scripts\\Queue.bat \"%1\"

    [HKEY_CLASSES_ROOT\WMP11. AssocFile.MP4\shell\Queue for encoding]
    @= "& Queue for encoding.

    [HKEY_CLASSES_ROOT\WMP11. AssocFile.MP4\shell\Queue for Encoding\command]
    "@="c:\\dvdstudio\\scripts\\Queue.bat \"%1\"

    [HKEY_CLASSES_ROOT\CCCP. WMP. AssocFile.MKV.1\shell\Queue for encoding]
    @= "& Queue for encoding.

    [HKEY_CLASSES_ROOT\CCCP. WMP. AssocFile.MKV.1\shell\Queue for Encoding\command]
    "@="c:\\dvdstudio\\scripts\\Queue.bat \"%1\"

    [/ quote]

    Save the text file..., rename the text file with the .reg extension

    Double-click the new registry file to add the context menu commands to your registry... everything is done! :)

    And thank you very much, BluePlateSpecial!

  • Why doesn't the mouse click on the tab context menu more displays the option to move the tab to a different group.

    When I click right click on a tab, the context menu no longer offer to move this tab to another group.

    What's new since 38.05

    Why was this feature depricated?

    I've got 38.0.5 on Win 7 x 64 Fx.

    You already have a userChrome.css file to change the user interface of Firefox? It is the only other method that comes to mind to hide a menu item. You can find such a file in this way:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Look for a folder named chrome , and if you find it, click on inside.

    Any userChrome.css file here? If so, you can open in a text editor and view its contents to see if it looks familiar.

    Or maybe your program files have been damaged in the upgrade. This happens from time to time, with unpredictable results. To remedy this situation, I would suggest:

    Clean reinstall it

    We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (no incompatible or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.

    (1) download a fresh Installer for Firefox 38.0.5 of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (2) close Firefox (if applicable).

    (3) to rename the program folder:

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\OldFirefox
    

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\OldFirefox
    

    (4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.

    You can get reinstalled Firefox?

    Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:

    • \OldFirefox\Plugins
    • \OldFirefox\browser\plugins
  • Context menu (or click on the right button) does not appear in the menu window

    The context menu does not appear in certain sections of the browser.
    If I run the browser in safe mode, it works without problem.
    I tried to reinstall firefox, after uninstalling I also manually deleted everything hidden and visible files - did not help.
    Also I tried the restore mode by default - did not help.

    Here, I put screenshoot.
    Kind regards.

    Sorry for my eng

    Hello

    Try disabling graphics hardware acceleration. As this feature has been added to Firefox, it has gradually improved, but there are still some problems.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options (Preferences on Mac or Linux) as follows:

      • In Firefox 29,0 and above, click on the menu button

        then select Options Preferences on Mac or Linux, or Windows.

      • In 28.0 Firefox and earlier versions, click on the Firefox orange upper-left button, then select the 'Options' button or, if there is no button up Firefox, go to tools > Options.
    2. In the window of Firefox Options (or preferences), click on the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

Maybe you are looking for

  • How to copy music from a key usb to itunes

    kindly help. I have music on my usb key and you want to copy in my iTunes

  • Acer Aspire G 771-V3-6814 paved show

    I had a problem in recent weeks with keys at random on my keypad doesn't work don't not - the top row numbers all work fine. I tried the solution of blocking number by activating the on-screen keyboard and the number of switch lock on this path - thi

  • I try to install Theme Hospital, but I need help :-(incompatibility with 64-bit

    I try to install Theme Hospital, but it says it cannot start or run due to incompatibility with 64-bit windows versions... y at - there a way around this? I REALLY want to play.

  • rotation on GridFieldManager problem

    Hello world I'm having a hard time trying to manage the rotation for GridFieldManager. I put the properties of column as GridFieldManager.FIXED_SIZE. I add the data to the grid. Then I add the grid to an absolute layout manager. And in the case of ro

  • Scanner drivers-need advice

    I am running Win 7 Professional and bought an old scanner which has Win XP drivers only. I went on the site to scan and download a newer driver, but it does not work with win 7. Is it possible to make this work?