Ribbon icon and icon overview do not appear

Msg edited

I followed the thread of spookendiesel and articles related but cannot get this to work. No icon appears on the home screen, just the default icons. The app does not throw any exceptions or errors. Everything works as expected, except the icons of reversal and the Ribbon is not displayed.

My development environment is Eclipse 3.4.2 with Blackberry JDE for the eclipse.

In summary, I created a 'main' project (RolloverIcon) that displays a screen with the title by a LabelField. This project includes a res folder that contains the overview icon (iconFocus48x36.png). I added the res folder on the way of the construction. I put the properties of the project at the request of CLDC, module system, autorun at startup feature.

Then, I created a new project in the same workspace called AltEntryRolloverIcon. This project includes a folder that contains the ribbon icon (icon48x36.png), but no code source. I put the project properties of Entry Point of CLDC Application replacement pointed to the RolloverIcon project with the main "gui" argument In the tab "resources" of the properties of the project of Blackberry, I added icon Ribbon as a file icon and made sure its containing folder is on the java build path.

As far as I know, I followed all directions to implement an icon of overflight and the other entry point. I don't know what else to do. I don't have the skills necessary to interpret the raw project files and to understand the problem. I am including information as much information that I see here in the hope that someone sees something obvious to solve this problem.

Thanks in advance.

Here is the source code of the "main" project

package rollover;

import net.rim.blackberry.api.homescreen.HomeScreen;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.container.MainScreen;

public class RolloverIcon extends UiApplication {

    public RolloverIcon() {
        LabelField title = new LabelField("RolloverIcon");
        MainScreen screen = new MainScreen();
        screen.setTitle(title);
        pushScreen(screen);
    }

    /**
     * @param args
     */
    public static void main(String[] args) {
        if (args != null && args.length > 0 && args[0].equals("gui")) {
            RolloverIcon ri = new RolloverIcon();
            ri.enterEventDispatcher();
        }else{
            Bitmap rolloverIcon = Bitmap.getBitmapResource("iconFocus48x36.png");
            HomeScreen.setRolloverIcon(rolloverIcon,1);
        }
    }

}

RolloverIcon.jad

Manifest-Version: 1.0
MIDlet-Version: 1.0
MIDlet-Jar-Size: 2948
MicroEdition-Configuration: CLDC-1.1
MIDlet-Jar-URL: RolloverIcon.jar
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_bb_framework_api
RIM-MIDlet-Flags-2: 0
RIM-MIDlet-Flags-1: 0
RIM-COD-Module-Name: RolloverIcon
RIM-COD-Size: 1372
MIDlet-Name: RolloverIcon
RIM-COD-Creation-Time: 1263318798
MIDlet-2: ,icon48x36.png,gui
MIDlet-1: ,,
RIM-COD-URL: RolloverIcon.cod
RIM-COD-SHA1: 85 6f 21 c3 b3 40 d7 9a 93 cb c7 94 85 35 d8 7a 65 23 45 fc
MicroEdition-Profile: MIDP-2.0
MIDlet-Vendor: RolloverIcon Vendor

RolloverIcon.jar

META-INF/
META-INF/MANIFEST.MF
RolloverIcon.cod
RolloverIcon.csl
RolloverIcon.cso
iconFocus48x36.png
rollover/
rollover/RolloverIcon.class

Content of RolloverIcon.rapc

MIDlet-Name: RolloverIcon
MIDlet-Version: 1.0
MIDlet-Vendor: RolloverIcon Vendor
MIDlet-Jar-URL: RolloverIcon.jar
MIDlet-Jar-Size: 0
MicroEdition-Profile: MIDP-2.0
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: FooRolloverIcon,,
RIM-MIDlet-Flags-1: 3
MIDlet-2: ,icon48x36.png,gui
RIM-MIDlet-Flags-2: 0

AltEntryRolloverIcon.jdp

## RIM Java Development Environment
# RIM Project file
#
# This file is generated and managed by BlackBerry developer tools.
# It SHOULD NOT BE modified manually.
#
AddOn=0
AlwaysBuild=0
[AlxImports
]
AutoRestart=0
[ClassProtection
]
[CustomBuildFiles
]
[CustomBuildRules
]
[DefFiles
]
[DependsOn
]
EntryFor=RolloverIcon
ExcludeFromBuildAll=0
[Files
icon48x36.png
]
HaveAlxImports=0
HaveDefs=0
HaveImports=0
[Icons
icon48x36.png
]
[ImplicitRules
]
[Imports
]
Listing=0
MidletClass=gui
Options=-quiet
OutputFileName=AltEntryRolloverIcon
[PackageProtection
]
RibbonPosition=0
[RolloverIcons
]
RunOnStartup=0
StartupTier=7
SystemModule=0
Type=3
Vendor=RolloverIcon Vendor
Version=1.0

RolloverIcon.jdp

## RIM Java Development Environment
# RIM Project file
#
# This file is generated and managed by BlackBerry developer tools.
# It SHOULD NOT BE modified manually.
#
AddOn=0
AlwaysBuild=0
[AlxImports
]
AutoRestart=0
[ClassProtection
]
[CustomBuildFiles
]
[CustomBuildRules
]
[DefFiles
]
[DependsOn
]
ExcludeFromBuildAll=0
[Files
res\iconFocus48x36.png
src\rollover\RolloverIcon.java
]
HaveAlxImports=0
HaveDefs=0
HaveImports=0
[Icons
]
[ImplicitRules
]
[Imports
]
Listing=0
Options=-quiet
OutputFileName=RolloverIcon
[PackageProtection
]
RibbonPosition=0
[RolloverIcons
]
RunOnStartup=1
StartupTier=7
SystemModule=1
Title=FooRolloverIcon
Type=0
UserData=|src;res
Vendor=RolloverIcon Vendor
Version=1.0

Ribbon icon imported into 'hand' of the project folder res and added the following two lines to the main method of the RolloverIcon class. The fixed.

   public static void main(String[] args) {
        if (args != null && args.length > 0 && args[0].equals("gui")) {
            RolloverIcon ri = new RolloverIcon();
            ri.enterEventDispatcher();
        }else{
            Bitmap ribbonIcon = Bitmap.getBitmapResource("icon48x36.png");
            HomeScreen.updateIcon(ribbonIcon,1);
            Bitmap rolloverIcon = Bitmap.getBitmapResource("iconFocus48x36.png");
            HomeScreen.setRolloverIcon(rolloverIcon,1);
        }
    }

Tags: BlackBerry Developers

Similar Questions

  • Taskbar, menu icon and start start will not appear

    I apologize if I chose the wrong forum for this.    HP Pavilion P6610f Windows 7 family Ed Office.  Internet Wi - Fi of 64-bit (Qwest DSL) middle of experience in technical (I think).  Windows Defender No Windows Live Security Essentials yet, (oops!)  When I signed out of AOL and returned to my desktop, the taskbar, start icon and menu start would not appear.  I tried CTRL + ALT DELETE, to try to find out if a program is interfering, (nothing was running) could not arrested except to do it manually, so I did and pressed conitnually f8 when starting upwards.  I tried 'last best configuration' (did not help) went to HP Support Assistant, ((Heureusement, la barre de HP advisor était en haut de mon écran de bureau) I tried all diagnostic & troubleshooting steps HP Support Assistant.) When I tried to go to Windows Explorer from there, or attempted to open the configuration of my system, he kept saying that the (HAPSLC) (or something close) leave work and he wanted to know why, but never did. I tried it 4 times.  I was hoping to reset back a few days but could not find a way to access this page. Scared to try something else. I did a factory reset on September 1, 2012. Have a record of system repair that was made in may 2012. I think that Windows was the installation of the updates at the time wherever I discovered that these things were not working.  You have any advice would be greatly appreciated. Thanks in advance for your time.

    Hello TY965,

    Even after a restart, the start menu and task bar not come back?

    Try these steps and let me know the results

    1. launch the Ctrl + Shift + ESC Task Manager

    2. under find explorer.exe processes

    3 Select this option and complete the process

    4. then go to file, and select new task

    5. type Explorer.exe and press OK

    Observe the behavior and see if the task bar and menu start back

  • IPhone 5 Bluetooth icon sometimes does not appear on the status bar even though she was on

    Hello

    My iPhone 5 is a little weird lately after installing a new copy of ios 9.2.1 and I set up like new. Bluetooth icon sometimes does not appear on the status bar even if she was turned on.

    Here is my screenshot

    The application of settings

    Thanks in advance.

    I think it's one of those things. 1 you are not connected to anything with blue tooth here for you aren't really "use it" 2. Its a software problem and maybe if you take it to the apple store that they would turn you off and back on to reset it or you say to wait for the next update, if you want to save gas or if you ride or walk save energy if you the person who has a power car electric you can write a quick review with the Apple and say hey guys do a new update , I really need a heres my problem.

  • Remote control does not work, and the load does not appear on Apple TV

    Hello

    I just returned from vacation and my remote seems has stopped working.   Naturally, my first assumption was that the charge was simply exhausted.

    Apparently that was the case.   He seems to have just died.

    I did pay for more than two hours and it still does not appear under devices Apple TV.

    My Apple TV 4 works very well because I use the remote control of my phone to navigate through it.

    If I understand correctly what I look at you, it seems that the remote control is same not synchronized or recognized by Apple TV more.

    Any suggestions on how to fix this?

    A reset is complete? Restart... no change.

    Thank you

    Bob

    1. Have you tried pressing the menu and the button for a few seconds while it now an inch or two away from the Apple TV, if successful, you should see a message on the screen saying the remote was paired.
    2. If you have an older remote from a previous model MacBook or Apple TV, you can use to restore the Apple TV, which, in many cases, has been sufficient to reactivate the remote Siri. You must complete all upward to undertake a restoration.
    3. If you have a USB cable - C you can try to restore by connecting it to iTunes on a computer.
    4. If you have tried all of these steps, don't have a distance sooner or a USB - C cable or their use is too inconvenient, return it to the store where purchased for a replacement, or to couple for you.
  • I want to download free applications, but it doesn't let me do it cause I have a problem with my payment, I try to remove my debit card and the option did not appear, I can't choose no for the payment, what can I do?

    I want to download free applications, but it doesn't let me do it cause I have a problem with my payment, I try to remove my debit card and the option did not appear, I can't choose no for the payment, what can I do? This happen after I bought some coins for a game

    You must settle the debt until you can download something else of the podcast episodes on the iTunes Store or select None as the payment option.

    (142394)

  • Hello. There is a problem on the IPhone s 5 - after reset, the display flashes on the sides for 10 minutes, then the flashing stops. And the problem does not appear again until they do not use a Hard Reset (Power Home). The phone is new (5 days). It's a m

    Hello. There is a problem on the IPhone s 5 - after reset, the display flashes on the sides for 10 minutes, then the flashing stops. And the problem does not appear again until they do not use a Hard Reset (Power + Home).

    The phone is new (5 days). It's a wedding?

    If you encounter this flicker, then the next troubleshooting step is to restore from a backup. If the behavior persists after the restore, then the last step is the factory restore. If after the factory restore and adding no additional content, you see always this problem, then you must make an appointment at the Genius Bar to the nearest Apple store or service provider authorized Apple to have the material examined. If the behavior goes after the factory restore, then sync again your content manually, without using the backup. It seems to me it's corrupted content in the backup.

    Restore your device from an iCloud or iTunes backup - Apple Support

    Use iTunes to restore your iPhone, iPad or iPod settings - Apple Support

  • Of image processing and machine vision do not appear in the function Palette

    Hello

    I have the problem and I can't solve

    Of image processing and machine vision do not appear in the function Palette, although I have implemented NEITHER imaq and NI Vision Acquisition why?

    Can someone help me?

    Vision Development module is the package that contains the entire library of Vision.

    http://www.NI.com/LabVIEW/vision/

  • Lightroom displays all images from a folder - it displays the message '45 65 images, selected 45' and 45 messages do not appear in the grid of the library, but I can't see the remaining images of 20. All filters are disabled...

    Lightroom displays all images from a folder - it displays the message '45 65 images, selected 45' and 45 messages do not appear in the grid of the library, but I can't see the remaining images of 20. All filters are disabled...

    Hello

    Please go to the library Module, then click on the picture in the Menu bar and then click the stacking.

    From there please select expand all stack them.

    It should show all the images if they are virtual copies.

    Kind regards

    Tanuj

  • Why are most of my grayed out icons and my programs do not appear in all programs on the start menu?

    My computer crashed the other day. I returned with a system restore. I have scanned for viruses. Now most of my icons (computer desktop and folders) is grayed out. When I click on "all programs" in the start menu, none is listed even though they are still on my computer and still work.

    Hi homeWJ,

    Method 1

    See the Microsoft article below to download and install the fix, check if it helps.

    When you point to "Programs" on a Windows XP-based computer, the program list does not appear, or the list of programs is empty

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

    Method 2

    If the previous step fails, then analyze and remove any malware or computer virus infections and check if that helps.

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

    You can also use Microsoft Security databases to scan your computer

    http://www.Microsoft.com/security/PC-security/MSE.aspx

  • Booking 10 icon Windows does not appear in the status bar

    I ThinkCentre computer E93z with Windows 7 SP1 is installed. I have all the windows updates to date. I tried everything but still a reservation of 10 Windows icon does not appear. Is this something to do with the Lenovo system update? Please suggest a solution.


  • Icon/Application do not appear on Simulator

    I wrote a basic application to send packets UDP to a background Thread after a certain interval of sleep. I could get this works well with a simple interface (white form with a submit button), but for some reason, when I extend the Application instead of UiApplication (he is not supposed to be a user interaction), it does not appear on the Ribbon - anywhere. I tested it using the simluators 8300 and 9700 with the same effect. I allowed to run at startup, but I don't get all packages (currently using the default loopback address. I listen to packets using netcat), and I should get an every 10 seconds or more. I am happy to be able to start the application from the Ribbon, but it does not appear. I compared my code with that of the ' how to-create a background request ", and all the important elements are basically identical to a few different names and no class nested. Any thoughts on how I might be able to solve this problem?

    Thank you

    ~ Dom

    Problem solved. I don't know how, but after played with some settings for 3 days, I finally got my application and running upward.

    / closed

  • I do not have a Foxfire button. I even installed a new copy and it still does not appear.

    I have tried everything to find info on why it does not appear. There is none that I can find.

    I hid any view, navigation and link toolbar and it show up. I wasn't expecting to have to hide things so he can appear. Thank you.

  • Some options have disappeared, and download manager does not appear on every night. Help?

    Hello. I'll try to make it as short as possible. I'm under the program every night. Currently I have version 21, which came out today. But since last week, with the 20 version, I noticed something. Whenever I downloaded something, tried to open the Download Manager, or press Ctrl + J, the Download Manager, we all know did not appear. Instead, the 'library' appears. I don't want to see the library, because it is not 'pretty' as a normal Download Manager. In addition, under Options, under general, downloads, the ability to select where to save the files is missing. Under Security, I don't see my saved passwords. Why all these things "missing"? I did something I wasn't supposed to? Is - will this work for an addon? I left my information below for you everything you need to know. Please, help me?

    The library is where downloads are now displayed. The 'normal' downloads window disappeared for several weeks now in every night. BTW, there's a new toolbar (arrow pointing down) button in the Palette for downloads; It has a "door hangers" which shows the current downloads on the slider "stationary."

    This is the main "issues" on the left side of the Library window.

    History

    Downloads

    Tags

    All bookmarks

    Options > general - "save the file to" and "ask me where...» "is always present for me on Windows XP.

    Options > security always has the "Show passwords" button for me.

    I suspect you have an extension installed, which is not completely compatible with 21.0a1

  • Control Panel is not on the list. Users and local groups does not appear in computer management.

    1. click on start, and then point to setting, control panel is not on the list.  When you try to get to the Panel of control via a link in Help and Support, had an error, "operation has been cancelled due to restrictions in effect on this computer.  Contact your system administrator. »

    2. local Users and Groups does not appear in computer management.

    There is only one profile on the PC, the OS is XP Home.  It seems lost his administrator privileges somehow my user profile.  Could you please suggest how to solve this problem?  Thanks in advance.

    Hi PJohnson,

    You can access the link below and follow the steps in the article to create a new user account and copy the data to the new account.

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

    I hope this helps. Let us know the result.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Unable to connect to the network and wireless interface does not appear in ipconfig/all on Vista32

    My niece has a laptop of HP under vista32 who cannot access the network wirelessly or wired.  She is in College and needs the laptop on the network as soon as possible for his class work.  I tried to reload the driver wireless driver (Atheros AR5007 b/g) and reset the tcp/ip stack using the command netsh addressed in the microsoft article, but nothing works.

    I brought the laptop to work where we have an unsecured wireless lan (called comments) for visitors and the laptop can go out and find all points of access wireless including comments.  When I select the comments and try to connect it times out and tells me to watch driver and tcp/ip connections.

    Another clue may be that the wireless card does not appear when I type ' ipconfig/all', or the adapter wireless and wired adapters are not displayed:

    C:\Users\Admin>ipconfig/all

    Windows IP configuration

    Name of the host...: Hannah-PC
    Primary Dns suffix...:
    Node... type: hybrid
    Active... IP routing: No.
    Active... proxy WINS: No.

    Bluetooth network connection Ethernet card:

    State of the media...: Media disconnected
    The connection-specific DNS suffix. :
    ... Description: Device Bluetooth (personal area network)
    Physical address.... : 00-21-86-39-EE-22
    DHCP active...: Yes
    Autoconfiguration enabled...: Yes

    C:\Users\Admin >

    I'd appreciate any help I can get.

    Thank you!

    In the case where somone has this same question, I wanted to post my final resolution of the problem. I backed up its data and restored the laptop to factory default using HP restore and now everything works fine.  Better I would say loading Zone Alarm on Vista was a bad thing for my niece to do.  Would have been nice to find a magical solution to avoid restoring but never found one.  Even after the alarm zone using their instructions by removing completely, there was apparently a problem with the registry who wouldn't let networks are working properly.  One thing I noticed after that the restoration was the HP Wireless Assistant poped up and told me about available networks, etc.  Assistant wireless didn't pop-up at all whne the cell was dismantled so maybe assistant was broken?  Well, I'm out...

Maybe you are looking for