uiapp starting from Ribbon and bb app menu

Hi I'm new here - apologies if it's a clear message

I have a developed gui application and work - typical boot sequence - MyApp extends UIApplication and the MyApp main() method creates a new instance of the app and call app.enterEventDisplatcher ();

in the constructor of MyApp, I create an instance of MyScreen which extends screen and implements FocusChangeListener.  so far so normal if I understand correctly.

What I want is to be able to launch my application of the Ribbon and a menu screen in the standard BB calendar app.

It is - how?

I'm confused by several different messages/samples on the question to know if I need another point of entry or a new application to create the menu items in the standards BB calendar app.

Examples of popular code - necessary guidance.

Thanks in advance

Ken

OK - the 'Ribbon' is the menu system app that appears when you select "switch application" in the menu system, or -press ESC on trackball devices, or press and hold the MENU button in 5.0 and later versions.

What you are looking for is achieved by creating an ApplicationMenuItem and adding the ApplicationMenuItem to the ApplicationMenuItemRepository (for the application of the target).

You can add a menu to the app Messages, calendar, tasks, maps, etc. (most BB apps). When your menu item is selected, the menu item "run" method is called, passing a context object. The specific object type varies from application to application.

Of course, you'll want to sign up to the device to start menu items, so that's where the other entry point comes into play. Configure you your application for "autorun" and specify the parameter that is passed on Autostart, so that your application can make the difference between a boot system and an entry in the icon. Main() you will be SO called twice - once to start, and once again when the user clicks on the icon.

Another thing to know - when your menu item run() is called, it's calle in the context of the application of BB. Because of the sorting thread, this app context will see a different "static" context in your application. You can read about Singletons and other entry Point before starting this project. It is complex and is an area that generates a number of horizons of discussions on this forum.

Check out these articles and also please you to bookmark the KB for later reference:

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800639/How_to _...

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800783/How_To _...

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry smartphone how to restore deleted Contacts from Blackberry and Memopad app?

    Hi all

    I have a 4.7 phone smart Blackberry storm with me. By mistake I do a right-click and delete native Contacts and Memopad applcations of the device. Can I know how to install the built-in apps switch on the device? If I restore using a procedure, my device should be locked again?

    Thank you.

    I solved it by reinstalling the operating system.

  • I got a mac book pro with Yosemite. Today started to ask me to enter in the first series. Uninstalled all the app from adobe and I loggin and install all the app and still the problem

    I got a mac book pro with Yosemite. Today started to ask me to enter in the first series. Uninstalled all the app from adobe and I loggin and install all the app and still the problem. What do I do?

    If you are prompted for a serial number in the creative clouds, see this link:

    https://helpx.Adobe.com/creative-cloud/KB/CCM-prompt-serial-number.html

    Guinot

  • "Error message: Verifing DMI pool Data data ', 'Boot from CD' and Vista will not start.

    Vista will not start. Yesterday I had a remote assist of a tech trade SPS who took several Java updates and installed the recommended Java version. Until I left work the day I closed my computer so that he could install the updates from Microsoft. After the updates were finished I he turned and left for the day. When I arrived this morning, I had was a black screen and 2 lines of text following: 'Verifing DMI pool data' and 'Boot from CD' and a cursor flashing beneath them. I downloaded and executed a Western Digital utility that showed no problems with the hard drive, put in on the installation disc repair service is no error. I did a system restore to a point since yesterday morning, and Vista still does not start. Any ideas or suggestions?

    Hi JohnHorky,

    Step 1:

    First check and make sure that all physical connections on the computer are correct.

    Step 2:

    Alternatively, you can try to run a Checkdisk and check.

    a. Insert the installation disc.

    b. restart your computer.

    c. click on the Start button, click the arrow next to the button lock and then click on restart. If you are prompted, press any key to start Windows from the installation disc.

    d. choose your language settings, and then click Next.

    e. in the System Recovery Options menu, click command prompt

    f. at a command prompt, type the following command and press ENTER

    Chkdsk /f /r X: (drive letter)

    Note: When you run the checkdisk, there are risks of data loss you can take a backup before starting the checkdisk.

    g. press y when you are prompted to check the drive the next time the system restarts.

    h. close all applications and restart the computer.

    Note: When you run the disk check, there are chances of losing data if you can take a backup before starting the checkdisk.

    Step 3:

    Check if the automatic hard drive in the BIOS (Basic Input/output System) is enabled and save settings and check if it works. If it doesn't, contact the manufacturer of the system for more support options.

    I also suggest that you install the latest update of the basic system of input/output (BIOS) on the computer by contacting the manufacturer of the computer and check if it helps.

    Important: Change to the BIOS/complementary metal oxide semiconductor (CMOS) settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Hope this information is useful.

  • How to force Windows 8.1 programmatically refresh/update the Apps menu after start lnk files manually editing menu

    I would like to know if there is a call to API or similar which will refresh the menu apps dynamically.  Because of the way that the applications menu groups of shortcuts by default, if you have multiple items of the same seller they will most likely be displayed together.  It becomes quite confusing when all the shortcuts have the same name.  This happens more often than I like.  To minimize confusion, I have a version icons to move to a different subfolder under start\program c:\programdata\Microsoft\Windows\Start.

    For example, two versions of IBM ODM are installed, they have almost identical shortcuts but both are needed by the developer, so we have:

    c:\programdata\Microsoft\Windows\Start Menu\Programs\IBM\ODM 8.5.1

    c:\programdata\Microsoft\Windows\Start Menu\Programs\IBM\ODM 8.7

    In the view menu apps, all will be grouped under "IBM."  I moved and renamed ODM 8.7 to:

    c:\programdata\Microsoft\Windows\Start Menu\Programs\IBM ODM 8.7.

    However, the menu apps will always show both sets of icons as everything under 'IBM' however a game does not work (because they have been moved).  without any other process, the only way I found to refresh, it's to open a session and return twice.  Reboot, restart explorer.exe (someone suggested that) or other tricks mentioned in the links down below has no effect.

    Steps to recreate:
    1 see the menu apps

    2. rename any existing subfolder which is directly under start\program c:\programdata\Microsoft\windows\Start

    3. open the menu of apps again.  the modified file should be not displaying and in the old group of folder shortcuts no longer work.
    4. open a session once and relog in.  Still, the change should not display.
    5. open a session once and relog again.  The change should now display.

    This delay in the update of behavior has been observed by several people, one that suits that I remember:

    Microsoft.com: how to change the name of one of the program groups that appear on the screen all applications? who asked several years without resolution.

    I asked several days regarding the exchange of Experts to see if anyone knew a method without a resolution so far other than workarounds: Experts-Exchange: Windows Apps Menu 8.1 will not update dynamically when you manually change the locations of shortcuts

    Any advice would be greatly appreciated I know I will run into this many times in the future when the native installer does not permit you to change the location of the shortcut.

    Hi Dan,

    Thanks for posting the query on Microsoft Community.

    This problem may be the best answer by MSDN, publish the query on the MSDN Forum.

    https://social.msdn.Microsoft.com/forums/en-us/home

    In the future, if you have problems with Windows, get back to us. We will be happy to help you.

  • I've made a mess of the implementation of PSE14 and feel that the easiest thing would be to start from scratch. I can do it and how?

    I've made a mess of the implementation of PSE14 and feel that the easiest thing would be to start from scratch. I can do it and how?

    Simply start a new catalog in the menu of the Organizer:

    File > manage catalogs

    Click on the new button, choose another name and save

    When the empty catalog launches, you are ready to start with the import.

  • I replaced my original Apple Watch with a watch of S2. When I install and associate the new shows, is there a way I can restore all applications, configuration information and data of the original of the new shows so I don't have to start from scratch?

    I replaced my original Apple Watch with a watch of S2. When I install and associate the new watch and my iPhone 7 more, is there any way I can restore all applications, configuration info and data between the original and the new shows, so I don't have to start from scratch?

    Try this procedure

    Cancel the twinning of your iPhone - Apple and Apple Watch Support

    Spend your Apple Watch a new iPhone - Apple Support

  • I accidentally deleted all my settings and the apple iphone 6 s ID. Now I have to activate my phone and start from the beginning. But I don't have my EA sim with me right now and cannot organize any sim EE. How can I activate my phone without sim card?

    I accidentally deleted all my settings and the apple iphone 6 s ID. Now I have to activate my phone and start from the beginning. But I don't have my EA sim with me right now and cannot organize any sim EE. How can I activate my phone without sim card?

    Sorry, but you can't activate an iPhone without a SIM card installed. It is simply not possible to do.

  • I can not eject a dvd from my drive iPhoto super-cannot see the drive open up Adobe Photo Elements and organizer and then apps get hung up "not responding" and cannot do anything - I've fixed dozens of times w msg success drive.  Help

    I can not eject a dvd from my drive iPhoto super-cannot see the drive open up Adobe Photo Elements and organizer and then apps get hung up "not responding" and cannot do anything - I've fixed dozens of times w msg success drive.  Help, please.  Thank you!

    Hello golden2,.

    I understand that you have a DVD picture in your SuperDrive drive, but it is not mount on the desktop and will not eject.

    Please, try the procedure described in this article using the disc is ejected.

    Get help with the SuperDrive slot on your Mac - Apple Support loading

    Do not eject discs or discs eject slowly

    1. If the drive ejects discs slowly or appears to have difficulty, insert and eject a disc several times. Check the disc to see if it has a label or other material stuck to the disc which increases the thickness. Remove the label if possible.
    2. If the disc does not eject, try pressing the eject on the keyboard button. Some older keyboards may use the F12 key to eject the disc.
    3. If the disc does not eject, try dragging the icon of the disk to the trash.
    4. If the disc will still not eject, try to hold down the mouse or trackpad button after you restart the computer. The Superdrive should attempt to eject the disc.
    5. If the disc still does not eject, reset the System Management Controller (SMC) and repeat steps 1 to 4.
    6. If the disc still does not eject, Contact Apple or an provider of services authorized Apple, or make an appointment with a Store Apple Store for further assistance.

    Take care.

  • When I start my PC, and before you start I receive this message from InfoCenter.exe - Application error - the application is not initialate properly (0xc0000135).

    Original title: initialize 0xc0000135

    When I start my PC, and before you start I receive this message from InfoCenter.exe - Application error - the application is not initialate properly (0xc0000135). I just click OK and continue. Any problem? Is this necessary application?

    Walter Rodriguez

    E-mail address is removed from the privacy *.

    10/07/12

    14:57

    Hello

    1. do you receive this after you see Start button or entry?

    2 have you made any changes to the computer before the show?

     

    Method 1: Boot errors are fixed by the clean boot.

    Perform the clean boot and see if that helps.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    Reference: How to solve a problem by performing a clean boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: when you're done to diagnose, follow step 7 in the article to start on normal startup.

     

    Method 2: Some malware parody itself as InfoCenter.exe, especially when it is located in the folder c:\windows or c:\windows\system32.

    I suggest you make a system full scan just to be sure.

    Here is a link that will give you information on how to perform a full scan of the system:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    , Note 1: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Note 2: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

  • WMP freezes, playback and time counter freeze and after a few seconds it will start from the point where it stopped.

    Original title: WMP 11 continues to stop audio playback

    I use WMP 11 for months with no reading problems but since yesterday evening he continues to stop for about 20 seconds every five minutes or so. When she did this, WMP freezes - meter reading and time to gel and I get the hourglass - and then after 20 seconds or more, the trail starts from where it stops. What is happening on all the tracks I did not play a single. I tried 20 audio files (mp3 all) through a dozen different albums. In addition, the gap between tracks seem longer than usual. I feel that it is looking for the data and playback stops because the time it takes to find the data is longer than the amount of data he has for playback? Either way, my files are stored on an external drive, and I'm now ask to update WMP for 'monitor folders' once again.

    I also downloaded a new copy of WMP 11 but this has not fixed the problem.

    I ran Fix It from Microsoft, but it has not to report any issue so I'm stumped. Any help appreciated thanks.

    Laptop Dell Inspiron 1300
    Windows XP SP 3
    WMP 11 - updates enabled
    Active Windows updates
    MSE firewall on / updates enabled

    Registry fixers never used because they can damage the file system!

    Thank you, Anoop - I notice that it is 7 - t - it too much work for XP? I'll take a look, although I found closure and restart toured (as far as the burning problem goes). Thanks for your help.

  • Xp pro installation gets past the copied installation files and then restarts, rather than continue with install it starts from the beginning again.

    new installation of XP pro on a Dell Inspiron mini

    Xp pro installation went copied files Setup then restarts, rather than continue with an install it starts from the beginning again, laptop is configured to boot from the hd, but does not do that, I reset bios to default and hd settings has been reformatted, the cd for this laptop drive is usb because it has not built in 1... If I try and I remove the usb cd when reboots after copid setup files it told her there is no operating system...

    any help much appreciated...

    Hi, Leon,

    Always include computer make and model, please.  Thank you.

    Research in the Bios (reboot and press F1 or F2 depending on your system, check that all usb options are enabled (for example, USB legacy or support for USB 2.0 devices).)

    If there is a timeout parameter, set it to Max.

    Then, find the boot device priority section

    A USB flash drive, which is usually listed as USB - HDD, but may be listed as a removable device, will have a priority very low start.

    Rearrange the boot device priority so that the flash drive has a higher priority than the hard drive.

    Install Windows XP from USB key

    • Insert the USB key into the USB port on the computer.

    • Open the "I386" folder and find the file "Winnt.exe".

    Double-click on the "Winnt.exe" to launch a command prompt BACK to an installation of Windows XP.

    Type the path of the location of your "I386" folder in the DOS window. For example, if your USB is the letter "D" in your "My Computer" window, type "d:\i386" without the quotes and press the Enter"" key.

    Let the installation program copy the Windows XP installation files on your computer.

    Restart your computer to a command prompt. The Windows XP Setup will continue automatically.

    Follow the on-screen instructions to complete the installation. The program will ask you your Windows XP product key in this process.

    http://www.ehow.com/how_6912418_install-Windows-XP-USB-drive.html

    Make a bootable memory card or USB key using PEBuilder

    http://www.tech-recipes.com/Rx/2583/making_a_usb_drive_or_memory_card_bootable_using_pebuilder/

  • How it delete and start from scratch?

    All I want to do is clear on my computer and restart from scratch. I have all my records, but he said not how to this in the instruction manuals... only includes restoration at some point and I don't want to restore. How it delete and start from scratch? I've saved my files to an external hard drive.

    If you are sure you want to do this - and it of a radical step, is generally not necessary - you potentially have two choices.

    In addition to your data, make sure that you have saved the downloaded installation files and their activation keys, as appropriate.

    Some computers manufactured by large OEMs have a hidden partition to "restore" that will allow you to restore the computer to its "fresh from the factory" State.  Alternatively, the manufacturer may have provided a 'recovery' or 'restore' CD/DVD which will accomplish the same thing.  One of the important side effects: test facilities of things like antivirus applications will install but not triggered because the trial period had been used.  You must uninstall these completely (using the "removal tool" provided by a / v manufacturer) before installing a real a / v application.

    On the other hand, you can have a genuine Windows XP install CD, although these are rare.  If that's what you have, you want to do what is called a "clean install".  Don't forget to install your device drivers after the Windows Installer is finished (card mother/chipset, network card, sound card, video card, etc.).

    http://michaelstevenstech.com/cleanxpinstall.html
    http://www.theeldergeek.com/xp_pro_install_-_graphic.htm

    In both cases, after Windows has been installed, the first thing we do is go to Windows Update and install all critical updates.  Then you can install all the applications you have installed after you purchased the computer.  They must be installed from the original media (a downloaded Setup program that you have registered or a CD/DVD).  If none of these applications are Microsoft applications, return to Microsoft Update and get updates critical for these applications.

  • I want to completely empty my computer and start from scratch, but now my computer will not read the disk drive or the usb ports

    Help with my computer of dumping

    I have windows xp and I want to completely empty my computer and start from scratch, but now my computer will not read the disk drive or usb ports. How can I do this without the disc?

    If there is anything physically wrong with your hard drive, you can use Darik Boot and Nuke (DBAN aka) to make a scrub of the security of your HARD drive. Glance to download here.

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    Hello

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

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

Maybe you are looking for

  • App Store feature tab in the app to watch no longer works.

    Right now, I can't use the app store of Apple Watch because if I open the application on multiple devices that have different versions of iOS and tap the category recommended on all downs that appears is a blank tab nothing in the window... and it se

  • HP Pavilion x 360 11-k132TU 11 ": the upgrade of my HP Pavilion x 360 11-k132TU computer laptop with processor Intel Pentium N3700

    I have the HP Pavilion x 360 11-k132TU 11 "2 - in-1 computer laptop recently and discovered that the processor is really slowing me down." This is the product that I brought https://www.jbhifi.com.au/computers-tablets/laptops/HP/HP-Pavilion-x360-11-k

  • ProBook 6550 b: it will work CPU in my system

    Hello good people, I hope that I did not jump the gun, but I ordered an upgrade of CPU my Probook 6550 b who is running 1st gen core i5 450 m I have this entry:

  • Start Administrative privilege

    I want to uninstall some elements to start on my computer but when I do to run msconfig I can uncheck the boxes, I'm not there, but when I hit the button apply he says I have to have administrative privilege and I AM the administrator and the owner.

  • Default email

    Windows 7 Home Premium, Office 2007, IE 11.      When I try to send a page by e-mail or link in IE it popped up to allow me access to a program.  It is used for Outlook 2007.  Now, when I do it, he wants to join IE 11.  If I click on it, it does noth