Definition of an icon of overview

I set up a test application to try to define a rollover icon and followed the advice in the following articles in the Knowledge Base

and also, in this thread http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&thread.id=3623

I put the index according to the thread above in the following API calls:

HomeScreen.updateIcon( regIcon, 1 );
HomeScreen.setRolloverIcon( icon, 1 );

I installed the same sample application on a 8100 device and a 8310 device.  8100 system works perfectly, but the 8310 device sends a message error "Module with handle [handleID] and [index] has no application entry point.

Does anyone know why it would work on a single device, but not another?  Is there a way to fix this?

public RolloverTest(boolean autoStart)
{
    if (autoStart)
    {
        //The application started using the auto start entry point.
        //Setup the rollover icons.
        final Bitmap regIcon = Bitmap.getBitmapResource("mobicon_36x36.png");
        final Bitmap icon = Bitmap.getBitmapResource("mobicon_36x36_highlight.png");

        invokeLater(new Runnable()
        {
            public void run()
            {
                ApplicationManager myApp = ApplicationManager.getApplicationManager();
                boolean keepGoing = true;

                while (keepGoing)
                {
                    //Check if the BlackBerry has completed its startup process.
                    if (myApp.inStartup())
                    {
                        //The BlackBerry is still starting up, sleep for 1 second.
                        try
                        {
                            Thread.sleep(1000);
                        }
                        catch (Exception ex)
                        {
                            //Couldn't sleep, handle exception.
                        }
                    }
                    else
                    {
                        try
                        {
                            //The BlackBerry has finished its startup process.
                            //Set the rollover icons.
                            HomeScreen.updateIcon(regIcon, 1);
                            HomeScreen.setRolloverIcon(icon, 1);
                            keepGoing = false;
                        }
                        catch (Exception ex)
                        {
                            // Couldn't set the rollover icon, handle exception
                        }
                    }
                }

                //Exit the application.
                System.exit(0);
            }
        });
    }
    else
    {
        //The application was started by the user.
        //Start the application and display a GUI.
        pushScreen(new ScrTest());
    }
}

I've been playing in this code example, a little bit more and added a try/catch statement (highlighted in red in the example above) around the code to set the icon of overview.  Overview icon now works every time and I no longer see the error message.  Hurrah!

Tags: BlackBerry Developers

Similar Questions

  • Home icon menu overview what do mean?

    On my preview interface, there is a clear grey area which, like two icons at the bottom.  One looks like a House and the other looks like a funnel. What do mean?

    What does preview area mean.jpgThe issue I have is with these icons. When I hit the button play the dvd plays fine until what I hit return to the menu, then when I hit play again Home icon goes to the number "2" and the video stops playing and returns to the menu root." When I hit play again a second time, he plays very well and home in on icon "1".  What was going on?

    There should be no effect of movement / audio in the menu and what link is being accessed. Makes me wonder about performance problems.

    You made the menu?

    Overview of still is sometimes not as the DVD will be, and ultimately, you have to burn a test.

    To remove the music in the menu (not the project), open the query tab (to the right of your screencap), click on the sound and click on delete. You can then delete the project if you wish.

  • Adding an icon to-app.xml file gives me an error

    I develop an ActionScript 3.0 for Playbook application

    I added the following to-app.xml:

      
    
        
        
        
        
        
        
    
        
        
    
        
        
    
        
        
        
            assets/images/icon.png
        
    
        
        
    

    I get the following error:

    Error occurred during the application of packaging:

    (D:\SourceCode\AdobeAir\MyApp\bin-debug\MyApp-App.XML(154): error 103: application.icon.image is an unexpected element/attribute
    Error: Validation of the AIR is not

    The BlackBerry Playbook Tablet UI GuideLines PDF I read that an icon of the application must be an 86 x 86 PNG image a tag like this

    The definition of the icon goes in the file to blackberry - tablet.xml:

    
      
        none
        false
      
      o2interactive
      core.games
      
      access_shared
      play_audio
      
      
      
      
      
      
        myiconpathhere.png
      
    
    
  • Hi, could you tell me how to put the app icon

    Hi, could you tell me how to put the app icon. By what your code?

    usually, set you the application icon in the properties of your application.

    You can also use the HomeScreen class to change the icon or set an icon of overview.

  • What are you doing for your icon?-help!

    Hey. I would like to know what other people do to their application icon (esp those who are sellers of BlackBerry App World). I am currently using an icon of 93 x 93 (many icons) and wait that is brought across the quadrupling (!). I can't test the size on the Simulator or my handheld because both use older versions of the file .png (same names) and I failed in trying to 'erase' these old png.

    What size of png file do you provide as a resource file in your project? Or you do nothing, and BBAW using your png to 480 x 480 display image?

    J.

    Here is the link that will tell you more about the icons and the sizes (follow the interface instructions user a link in this article):

    -How to create an icon for an application
    Article number: DB-00126
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

    I also encourage you to read this article:

    How - to define a rollover for an application icon
    Article number: DB-00467
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

    No actually to set the icon of overview, but to see the process of creating your own icon.  You can use the home screen to set the icon.  I usually include 3 icons in my project and choose one of them at startup based on the default size of the icon:

    HomeScreen.getPreferredIcon...

  • How to upgrade the Switch application icon

    Hello

    I'm working on a UiApplication in Java that runs in the background all the time.  I need support the 7290, some 8,000 s and the "BOLD".  The screen resolution is very different between the 7290 and "BOLD" and the icon that looks good on the 7290 seems jerky on the "BOLD". And the icon that seems good on the "BOLD" is not full screen on the 7290, and we know, that there is a problem.  So, I followed the information contained in these two links to update my icon based on that screen resolution that we, to make my icon looks good no matter what device has a user.

    BB in Knowledge Center article - how to set an icon of overview

    BB Forum of Discussion on the overview icon

    Now on the 7290, I use an icon of size 32 x 32 pixels and on the "BOLD", I use an icon of size 64 x 64 pixels.  I know that 64 x 64 is not the recommended size for the "BOLD"... and it looks better for what I do.

    OK, so to enter some details, I have a main entry point, which has an icon associated with it (which is the icon that I have 'default', you can tell).  And it's the icon of my startup code updates (via HomeScreen.updateIcon (getHomeScreenIcon (), 0) and is what you see in the Applications folder (or on the main Menu, depending on what device, of course).)  And on the menu, when you click this icon, it brings my application in the foreground and here we go. It works just as advertised and is great.  I have the icon on the right showing on the right screen resolutions.  No problem.

    Is then where I run into trouble.  I have another point of entry, who calls my startup code and gets my application running in the background.  It has an associated icon also (once again just the icon I want 'default' before I can get the Update icon.  It is the icon that can be found on the Ribbon for switching applications (when the user presses ctrl-esc).

    And once again, in my startup code, I try to use - HomeScreen.updateIcon (getHomeScreenIcon (), 3); -Please note the different entry point number that corresponds to this entry point.  I checked the CAP file to determine the correct entry point number and this update still does not take effect.  I also tried each number from 1 to 5, no chance.  I can't get this icon to update.

    How to upgrade the icon that appears on the Ribbon for switching applications?  And if I can't be updated for a reason, how can I specify a different icon for different screen resolutions?

    Thank you, Tara

    PS. I use JDE 4.1.0.185, simulators and devices of 7290, 8100, 8300, 9000 (Bold).

    The issue of the HomeScreen.updateIcon do not update the icon displayed in the application of task switch has been resolved in BlackBerry handheld software version 4.7.0.  The only work-around from earlier versions is to have several versions of the application that are built with different application icons.

  • (Icons of blackBerry Smartphones 1 model) 2).

    I have 2 questions:

    (1) a RIM displayed across a complete list with the definitions of the icons that appear on the screens of its features?  Thanks to the forum that I finally discovered that the yellow globe is the indicator of WAP Push Messages, but it seems to me this should be in the manual online somewhere.

    (2) RIM has ever put the model name and number of each device on the device?  I know I have a "BOLD", of course, but it would be convenient not to have to search for a reminder that it is a 9900 or whatever.

    I know that most of the icons are in the manual, but I don't have a list of each.

    I'm sure they feel, but I don't know any project put it directly on the device. The 2 places that you can find are on the thumbnail below, where is the battery and under Options | Status.

  • ButtonBar does not display the icons...

    Hello world. I use CentOS 4.3 with apache
    Tomcat 5.5.23 and Flex 2.0. I have create a ButtonBar in my main.mxml
    file with a dataProvider, which is an array of java objects. Each
    Object has an icon, a label, and a ToolTip, among other things. The
    Adobe LiveDocs for ButtonBar said: "you can also fill the.
    property dataProvider with an array of objects. where each object can
    have up to three fields: label, icon and ToolTip. "(See
    http://livedocs.Adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=live Docs_Book_Parts & file = controls_059_08.html)
    I have these fields. The label and ToolTip are working fine, but no icon is
    displayed. For the icon, I tried...
    (1) in the java Object:
    @Embed (source = 'someSwfFile.swf', symbol = 'SomeButton')

    or

    (2) in the main.mxml file:
    [Bindable]
    [Embed (source = 'someSwfFile.swf', symbol = "SomeButton")]
    public var SomeButtonCls: Class;
    and then
    definition of the icon in the java object to SomeButtonCls

    Nothing works. Any help would be greatly appreciated!
    Thank you
    Josephine

    I finally thought to it. I thought I would post what I did in case anyone else come across this problem.
    in the mxml file:

    [Bindable]
    [Embed (source = 'someSwfFile.swf', symbol = "SomeButton")]
    public var SomeButtonCls: Class;
    [Bindable]
    [Embed (source = 'someSwfFile.swf', symbol = "SomeButton2")]
    public var SomeButton2Cls: Class;

    [Bindable]
    [ArrayElementType ("SomeObject")]
    public var someObjList:Object;

    public void setIcon(): Sub
    {
    var childNum:int = menuSomeButtonBar.numChildren - 1;
    switch (someObjList.getItemAt (childNum) .icon)
    {
    case 'SomeButtonCls': Button (menuSomeButtonBar.getChildAt (childNum)) .setStyle ("icon", SomeButtonCls); break;
    default: Button (menuSomeButtonBar.getChildAt (childNum)) .setStyle ("icon", SomeButton2Cls);
    }
    }
    ]]>


    Top = "0" left = "0".
    direction = "vertical" verticalGap = "10".
    dataProvider = "{someObjList}" = childAdd "setIcon () '"
    buttonHeight = '20' buttonWidth = "20" / >

    Then in my Java code, I fill a variable called icon in someObjList with SomeButtonCls or SomeButton2Cls as required.

  • Where can I get the file for HP2101nw ConnectMgr.exe? Mine is missing.

    NooB to the Commission in the present case and I thank you for the help.

    Randomly my wireless printing has stopped working.  Been authorized for many months on the same laptop, printer, etc. and then just stopped.

    HP2101nw

    HP Laserjet

    New HP laptop Win7

    Uninstalled, reinstalled, etc. had some problems of connection but eventually got everything but... No.

    When I click on restart Connection Manager in the Windows menu (no icon in the status bar showing the round red X or the green check mark like this, even after the definition of this icon to display in the section ' customize'), he tells me connectMgr.exe is missing.

    Searched everywhere and found nothing. Nothing on Google, etc.

    Any help please?

    Thank you

    John

    It was a wonderful trip! I saw so many things and not enough at the same time!

    What I was saying, is that the information on this print server shows that it is not compatible with the Windows 7 operating system, so it should not be used in conjunction with your Win7 systems. If it works with a direct communication, then it is likely that the other way is what was causing the interference.

    This file may be missed because it was incorporated in the previous operating systems, but a different executable file is used now. He is looking for a file that is most used and which was used in previous versions of the operating system but now has a different name.



    -Spencer

    PS there is a way to display the photos, if you look at the bar above the dialog box there is an icon that looks like a painting where you can insert a picture into the text box.

  • Check the box of recommendations

    All,

    How do I make custom rules using the new look and find the box of recommendations?

    Here is a useful document that R & D created to describe the new dialog box:

    New detail dialog box alarm

    Background

    The dialog new alarm details has a less cluttered look and displays more information, with more flexibility. The dialog box works by using a WCF binding alarm to bind a particular configuration of this dialog box to a particular rule.  Alarms generated by the rule will use the retail new alarm dialog box, as configured in the alarm association.

    Introduction to the Devs basket

    If you want alarms using the dialog box new alarm details, you will need to create an Association of WCF alarm for each rule that you want to display alarms using the new dialog box. If want the dialog box to display the information of the Agent, then the Agent must itself defined as the monitoringAgent on the objects whose scope is your rules.  As a matter of practice, Agents put in monitoringAgent for all the objects they present data for.

    Setting the alarm Association views

    There are three points of view that must be configured for an Association of alarm.

    • Detail view

      • This point of view is on the first tab of the dialog detail alarm
      • Notice must be 300 x 144 pixels
    • Large detail view
      • This view is on the second tab.
      • Notice must be 614 x 144 pixels
    • Agent detail view
      • This point of view is on the third tab
      • Notice must be 614 pixels wide
      • The height is slightly flexible, but should be designed to push the scroll bars

    Configuration details

    A. it comes from the first line of the alarm message. The portion of the title comes from the first sentence of the alarm message.  (Up to the first space after a period). The text under the title is everything that comes after the first space after a period.
    The title must be a static text describing the alarm in simple terms.  Disk space is low, the use of memory, Excessive interrupts.  Do not all variables included in the title of the text of the message part, as a high utilization of the processor is not 90%.

    Note: of the alarm message must have at least two sentences ending with periods.  An error message will appear in the detail alarm dialog box if the alarm message is not formatted correctly.

    B. the purpose in this picture is the property topologyObject of the alarm. This image is missing in one arrow all pointing from parent to child. If the object has no parent (if it is the root of the domain, which is the parent who is shown) then only the object is displayed in the center of the space.

    C. recent history is the view of the small detail in the alarm association. If this is not specified, there is no default. As mentioned earlier, the detail view of small specified must be no more than 300 x 144px.  This view is only passed the alarm and Timerange in the context.

    D. things affected are determined by the parents and the services, to which belongs the topologyObject.

    E. it is the description of the alarm Association. If this is not specified, there is no default.

    F. Suggestions - these diagnoses are customizable associations. You must provide a name and a description for each. It is better to provide some, but a little too customer get bogged down and counterproductive. The diagnose button takes his point of view of establishing the diagnosis . If none is provided, the button does not appear. In future releases, this area can also display the workflow options, as appropriate.

    G. is the important detail view.  It has height restrictions similar to the small detail view in section C, but more bandwidth.  This point of view should be 614 x 144 px.  This can be used to show a completely different view of the metric of the alarm of the small view.  However if the small point of view is designed to be flexible, then it can be attributed to both large detail view. The title of this section is "Recent history", so the view should be compatible with this title.  The range of alarm and time are the only things in the context.

    H. historical table is the default functionality and is not new.

    I. notes is the default functionality and it is not new.

    J. the top table (agent and agent type) is the default functionality and is not new. The lower part is the default value and can be replaced by setting agentDetailView. To make it work properly (not show null), you should make sure that your agent is added to things it watches as the monitoring officer. (The dialog box search agent under /topologyObject/monitoringAgent).  The Agent and Timerange wil spent as context entries.

    K. view rules is the default functionality.

    L is for future use, probably of the thresholds.

    Context-sensitive help is noted.

    These are associations of the alarm from the alarm is almost always useful, especially for places where you can spend this alarm to your specified point of view.

    The rule ID is absolutely necessary, or the user interface will not be able to match your association for its alarm. The description field is good for the detailed documentation. The detail view maps to the views recent history displayed in the dialog box new alarms details.  The large detail view corresponds to the view of recent history on the history/Notes of the detail dialog box tab alarms. This example configuration is a mixture of required and optional parameters, and not all of the optional parameters are defined. There is no agent details view.

    The definition of the icon is not currently used.

    The Drill-down view is not used and will be removed

  • Opacity keyframe within the disabled chronology?

    I've updated to the new version of Premiere Pro (new...) and it looks like I can make a keyframe on clips of opacity on the timeline and set it like I used to.

    I clicked on little = icon on timeline definition and wranch icon to show "keyframes", but the line remains in the middle and cannot be set at all.

    Did you get rid of Adobe or replace the option elsewhere?

    Help, please. It could save me a lot of time on the timeline... :-(

    You must make a right click on the FX badge on the clip on the timeline and make sure that it is set to display the opacity.

    In version 10.3 it was incorrectly default to something else.

    It is fixed in the updated 10.4 which has just been launched and is back to be configured to display opacity once more.

    MtD

  • difference on var and function

    What is the difference between public, private and protected var/function?

    It is the beginning of the third chapter in a book that I wrote that will be published this year. I don't think that the editor would do to me the entire chapter available publicly.

    Chapter 3

    Writing class Code

    By convention, class files generally follow the same general formula below.

    1. name of package
    2. Import instructions
    3. the class declaration
    4. class scope (IE, not local to a function) declarations of variables
    5. the class constructor
    6. other class functions

    In this chapter, we'll start writing code of class covering the 6 components above, expand on the previous discussion of the scope of the class and discuss varying means, functions and objects that are defined in a class can be exposed to other classes and accessible by other classes.

    Open Flash, start a new ActionScript 3.0 document and save your fla in a new directory with a file name more explicit than default Untitled - n.fla which offers Flash. Then click on an empty part of the scene (which should be the entire scene at this point) or the la table table editing, in the properties panel, enter a document class name (for example, hand). Click on the pencil icon (the Edit class definition) and should open your default class file. (See Fig03-01). Save this with the suggested name (the only one that should be given to this folder), Main.as.

    Insert the Fig03 - 01.tif *.

    [With the selected document properties panel.]

    Legends (Fig03-01 - callouts.tif):

    *** 1. Main document class name is entered

    *** 2. Edit the definition of class icons

    If you have an older version of Flash Pro CS, your base of the main class will not be created for you when you click on the pencil icon and you will see a warning like Fig03-02.

    Insert the Fig03 - 02.tif *.

    [Warning appears after clicking the icon of class definition to change in an older version of Flash Pro.]

    In this case, Flash also don't suggest the correct file so name, copy and paste the following in a new class file (file > new > ActionScript file > OK) and save it as Main.as:

    package {}

    import flash.display.MovieClip;

    SerializableAttribute public class Main extends MovieClip {}

    public void Main() {}

    the constructor code

    }

    }

    }

    The first line of all the AS3 class files contain keyword all indicating which directory (relative to the location of the FLA, not the swf) contains this class. If a class is in the same directory as the fla, your nomination package should look like the code above. If a class is in a subdirectory of C of the FLA containing the directory, your code should look like:

    package C {}

    ...

    }

    And if you want to save your class in a subdirectory C2 of the subdirectory C1, your class package that would indicate using:

    package C1. C2 {}

    ...

    }

    After the designation of package, required class is imported. You can add sources of class paths in your publishing settings, but for simplicity, we will assume that you have only the default Flash class path.

    Therefore, all classes that are not in the same directory with your fla and used in hand will have to be imported. Because we extend the MovieClip class and any other category is used in the hand (again), the MovieClip class is the only class that must be imported. The MovieClip class is part of the flash.display package (IE, the class Adobe created MovieClip is located in the flash subdirectory / view the default class path), import flash.display.MovieClip is used.

    If you know you need to import the MovieClip class but don't know don't or can't remember what package it is in, open the Flash help files, access ActionScript 3.0 classes and then go to MovieClip. The highest line indicates the package of MovieClip. Similarly, for all other Flash classes. (I'll address this again in more detail in Chapter 5.)

    The third line of the code declares the class is public, the class name (hand) and indicates to extend the MovieClip class. Because the hand extends the MovieClip class, you can use all MovieClip properties, methods, and events (once we import the necessary event classes). The public attribute that we'll discuss in the next section.

    The fourth line is called the class constructor. It is a function that runs whenever a member of the class (or instance) is created. Because the hand is a document class, the constructor will run only once that whenever our application (for example, a swf file) begins.

    Notice there are three names that exactly match the other: the name of the class, the constructor of the class and the name of the file. If the name of the class and the name do not match, you will trigger a 5008 Flash error. (See Fig03-03).

    Insert the Fig03 - 03.tif *.

    [Error trigged by the presence of an inconsistency of name file/name class.]

    If the manufacturer does not match name the class and name of the file, there will be no errors. In fact, you need not even define a constructor. If there is no code that should be executed as soon as an instance of the class is created, there is no need of a constructor.

    So if you type a name of manufacturer, Flash has no way of knowing you for this feature to be a builder and will assume you have created another function and you will not trigger an error message.

    The only problem you will see is that the code in your constructor misnamed will not run when an instance of the class is created. A trace (this) in your constructor misnamed will confirm the code does not run and should invite you to seek a typo in name of manufacturer.

    In addition, if the package name and the location of the file of the class do not match, you can or can not see an error message. If Flash try to compile the class file, you will see an error 5001 Flash. (See Fig03-04).

    Insert the Fig03 - 04.tif *.

    [Error trigged by the presence of a mismatch of location of the package directory /.]

    But Flash can't attempt to compile the class file so no error will be triggered. For example, if you have a document of the com hand class, and there is no Main.as com directory or there is no directory com name, Flash will not find Main.as and does not attempt to compile it.

    A common source of problems, coders, uncomfortable with the OBJECT-oriented programming, trying to access the objects defined in a class from another class. I'll show you some of the ways that you can do.

    First, you will need to understand the method and property attributes. There are four attributes that can be designated for a method and the same four for a property - interval, public, private and protected. These are explained in the next section.

    Internal, private, public, and protected properties

    When you use the encoding class, you can reference any public method (function) or property (variable) using the dot notation. You can't directly refer to a property or method that is designated as private, unless you are in the framework of the class (e.g., your code is in the same class).  And there are two other attributes that you can assign to the class properties and methods; internal and protected.

    Designate a property or a method as internal, makes available to do anything in the same package and assign a property or a protected method, limit the availability to the class and its subclasses (if it all).  The default attribute is internal, so if you assign no attribute, the property or the method behaves as if it were the internal attribute. In other words, it will be available to any other class in the same package.

    Now, say that a property or a method is available to any other class or any class in the same package, etc., does not change the fact that ActionScript is an OBJECT-oriented programming language. In other words, the property or method is always defined only within the scope of the class. And it may be available outside the class, you should always use the correct code (point rating) to reference correctly.

  • Yellow exclamation on the windows defender on the notification area icon, tried to update, says no update available definition.

    Original title: security

    My computer shows a yellow exclamation mark on the windows defender icon in the notification area, I trobleshooted to open it and and I discovered that is outdated, so I chose the update now, but he says it is not definitions or updates available, my system at risk? I suppose Yes, so someone could help me solve this problem?

    Hello

    If you use Norton, AVG, Avira, Microsoft Security Essentials, McAfee, etc. the default action is for Windows Defender must be disabled, that these AntiVirus programs have their own Antispyware Applications.

    There is nothing to worry.

    Using both programs at the same time can cause system conflicts, etc.

    If you are using one of the above AntiVirus programs, this Information from David O - Support Engineer shows you how to manually enable Windows Defender (disregard information from uninstalling; not possible in Vista):

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/how-do-i-manually-start-Windows-Defender-in-Vista/dab845b2-9ba5-47F3-9518-c4c6781e7d5b

    "Go to start, Control Panel, Administrative Tools, Services. Look for Windows Defender.

    Right click and select Properties , ensure that Startup Type is automatic.

    Once modified, click apply and OK.

    Quit and restart your computer. Check the back take the same path to confirm that Windows Defender has started"

    .

    If you want to have additional protection against malware using the version FREE of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And for now, change startup Vista programs without using Defender, use one of these methods:

    "How to use MSCONFIG in Windows Vista"

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    Or the program Autoruns for FREE:

    "V11.21 Autoruns for Windows"

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

    See you soon.

  • 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);
            }
        }
    
  • Icon overview

    Hello experts!

    It s what an object is used, but the doesn´t works for me.

    Let me show you the problem: I have a request that I have configured the icon overview on the properties of the eclipse, I m use 4,612 to blackberry OS and my application, but when I put the cursor on the icon does not change the icon with the icon of configured defined overview.

    Can someone help me?

    Best regards, Rampelotti

    Check out this developer resource for bases:

    http://supportforums.BlackBerry.com/T5/Java-development/define-a-rollover-icon-for-an-application/TA...

    in my experience you sometimes use the two parameters of setRolloverIcon and updateIcon version, using 0 (or 1, etc.) as the second parameter, depending on the number of points of entry and the position of the one with the icon.

Maybe you are looking for

  • Mac OS El Capitan cannot share a VPN connection that is type of IKEv2

    I have a few VPN connections, I share via Wi - Fi on my mobile device. Here's what I do: I have a Macbook Pro with Ethernet port, I have some work VPN connections (some type of IPSec, some IKEv2). First I plug the cable to the Ethernet port, then I s

  • asking for passwords unnecessarily: win 7 vs win 8.1

    I'm TB configuration on a new machine Windows 8.1. I registered a password on my main email account, but did not save other accounts. On Windows 7 it works as expected and demand only for the other passwords when I click their Inbox, Windows 8.1 howe

  • Always taking during the filming of the video?

    Hi all I just joined the community because I intrestest jumping NEX platform. I have a question for the cameras. Is there any NEX model that can take pictures while shooting video? I checked the model NEX5 has no function, and I wonder if 6 or 7 prob

  • ProBook 4540 card reader s: 4540 s

    I have a problem with card reader, my laptop does not recognize the inserted memory card. I install the driver of your web pages with success, but I see no changes.Please help me!

  • make a phone call to request

    Hello Does anyone know how to make a phone call or sms from application using the API? Please help me on this. Thank you DK.