Pack component 4.7 - Overview icon does not change
Hello
I use Eclipse. Compilation with BB component pack 4.7.
I have a master project (CLDC) and a second project (CDLC replacement Entry Point). The second project is checked system and startup.
Note: the second entry point was to record a personalized for the app, not on the icon menu item.
I right click on the "main" project-> properties-> Blackberry Project Properties-> resources.
I select an icon file (1.png) in the dialog box "files of icons".
I select a second (2.png) icon file in the "Icons of focus files" dialog box.
I clean, compile, run under a 'new' "BOLD" Simulator (9000) and my app has the icon "no-focus".
When I reversal, it does not change.
What I've read, 4.7 is supposed to make this easy. It seems to be advantageous, so I don't know I'm missing something that is obvious (to everyone except me). I am new to Java and Eclipse, but really get the hang of it... so far, it's...
Does anyone have any ideas why this might not work?
Thank you!
You project must have an entry point with parameter. This additional entry point must be defined as "Autostart". Add the parameter's main entry: gui
And check the code below. This works.
import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.component.LabelField;import net.rim.device.api.ui.container.MainScreen;import net.rim.device.api.system.Bitmap;import net.rim.device.api.system.ApplicationManager;import net.rim.blackberry.api.homescreen.HomeScreen; public class HomeScreenIcon extends UiApplication{ public static void main(String[] args) { //Check for the argument defined in the project properties. if (args != null && args.length > 0 && args[0].equals("gui")) { HomeScreenIcon theApp = new HomeScreenIcon(false); theApp.enterEventDispatcher(); } else { HomeScreenIcon theApp = new HomeScreenIcon(true); theApp.enterEventDispatcher(); } } public HomeScreenIcon(boolean autoStart) { if (autoStart) { //The application started using the auto start entry point. //Setup the rollover icons. final Bitmap regIcon = Bitmap.getBitmapResource("1.png"); final Bitmap icon = Bitmap.getBitmapResource("2.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 { //The BlackBerry has finished its startup process. //Set the rollover icons. HomeScreen.updateIcon(regIcon, 0); HomeScreen.setRolloverIcon(icon, 0); keepGoing = false; } } //Exit the application. System.exit(0); } }); } else { //The application was started by the user. //Start the application and display a GUI. MainScreen ms = new MainScreen(); ms.setTitle(new LabelField("Hello there.")); pushScreen(ms); } }}
Tags: BlackBerry Developers
Similar Questions
-
Just updated today (2015.1 Release - 9.1.0) PP and now I can't on the right, click on all files in my calendar. My mouse icon is a permanent arrow as well and does not change when I select different tools.
Any help would be appreciated!
I had this problem for weeks and finally found an answer - for my system at least. (Mac Pro end of 2013, El Capitan 10.11.2)
I am running PP on three monitors. I have the floating program on 1 monitor window. If this window is bleeding in another monitor same 1 pixel when you work in the window of editing (on another monitor), make a right click does not work and tool icon does not change when you switch tools.
This announcement just in case someone else is pulling their hair as I was!
-
The Finder icon does not work. I click on it on the dock, and nothing happens. That I raise, and nothing happens.
Finder should work all the time.
What do you expect to happen when you click Finder in the Dock?
-
Nightly icon does not appear in Debian GNOME SHELL
Hi, I'm Tiago.
The Nightly icon does not appear on GNOME 3. I used Ubuntu and it works very well. But now, I use Debian with GNOME 3 and after extract the .tar and create the 'Nightly.desktop (necessary to pin the menu icon)", the icon does not appear (look at the screenshot below).
But also, I only am not settled every night my default browser.
then so are the bugs? I have to report? What can I do?
Grateful for the support and sorry for my bad EnglishThis also happens with the developer edition of Firefox (channel Aurora)?
-
Hello. My Bookmark star icon does not read my favorites. I can always use it to record the new bookmarks, but I don't see the 'old'. My Favorites are still there, but the star remains white when I open them and shows them as not saved. Thanks in advance for any help!
Some added addons toolbar and anti-virus are known to cause
Firefox issues. Disable all of them.When the star is to check the Bookmarks Manager, he must control
all the entries in the file. It could be that the bookmark of the webpage has been deleted.
Or the sea address have changed. I'm not aware of entries to the
bookmarks being blocked, unless you have something blocking the changes. -
The apple tv icon does not appear in the menu bar
The apple tv icon does not appear in the menu bar. I can't put my screen on my TV mirror.
Required to use AirPlay
If you go to the Apple menu > System Preferences, click on monitors and do not see the option to "See the mirroring of the options in the menu bar when it is available," your Mac does not meet these requirements.
Minimum requirements if your Mac and Apple TV are on the same network:
- Apple TV (2nd generation or later) with the latest version of the Apple TV software
- For mirroring of your screen to display your desktop, one of the following computers Mac with OS X Lion mountains v10.8 or later version:
Minimum requirements for peer-to-peer AirPlay, which allows visitors to quickly and easily connect their Mac or an iOS device to your Apple TV without getting the passwords and connection to the network Wi - Fi:
- Apple TV (3rd generation Rev A, model A1469 or later version) with the latest version of the Apple TV software
- Mac with OS X Yosemite v10.10 or later version (2012 or later)
-
Speed dial installs, but the icon does not appear
I used speed dial for a long time, both on my desktop and my laptop, and I really like it. Recently, I got a new office and installed the latest version of Firefox. Everything seems to be working well, but when I try to add Speed Dial, it appears to install correctly, but the icon does not appear in the menu bar. I tried several times and each time I like Speed Dial will be installed after I restarted Firefox. However, by clicking on the button will restart FF, but the icon never appears! What goes wrong, and how can I get Speed Dial to work for me, as it has always done?
Dial manual > getting started - http://speeddial.uworks.net/gettingstarted.html (see paragraph beginning "when this extension is installed... »)
- This is the same as the other buttons on the toolbar add - see: https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars#w_how-do-i-customize-or-rearrange-toolbar-items
Complete manual of dial - http://speeddial.uworks.net/manual.html
-
Bookmark icon does not appear on the top right corner next to the icon of the homepage
Bookmark icon does not appear on the top right corner next to the icon of the homepage
You see only the bookmarks Menu button if the Menu with the bookmarks menu bar is hidden (view > toolbars or Firefox > Options).
If the bookmarks toolbar is visible, then the bookmarks Menu button appears in the bookmarks toolbar, among other items in the toolbar of bookmarks (bookmarks), but you can move it to the right side to the left side of the bookmarks toolbar if the window customize is open.
If the bookmarks Menu button appears on the right side of the Navigation bar.Versions of Firefox 4 + have two buttons bookmark with a star in the window customize.
A single star button has a marker to drop that open Bookmark menu.
The other star button without the marker drop open bookmarks in the sidebar.You can drag the button customize menu bookmarks with the marker in the window in the palette of the toolbar on a toolbar (for example, the Navigation bar) or the tab bar or on the left side of the bookmarks Menu items.
-
After updating to firefox 9 download helper icon does not appear on the toolbar. How to fix or can, I come back to previous firefox that worked well?
Make sure you have the latest version of this extension.
Open tools > Modules > Extensions and click on the Tools button on the left side of the search bar to perform an update check.
See also:
-
Recently I have not been able to forward my iPhone 5S for message store. I've never had this problem before.
When I looked to what to do, I realize that The Call Forwarding icon does NOT appear in the status bar when I try to transfer calls. How can I fix this please?
It does not work using * 21 * + 6 * 41412 * 2 #.
< personal information under the direction of the host >
Call forwarding is a function of carrier. Contact your operator.
-
I like things to work, but the mail icon does not appear the number of unread messages in the tiny bubble on the mail icon. Is there something I could fix it? This has happened for months now and I like things to work properly. Help, please.
Thank you
What is the option "Dock unread count: ' value?
-
Hello
I'm running on one in 27 iMac (mid 2011)
After the execution of the last update to El Capitan (10.11.4)
The Calendar iCal icon / does not update the current date.
- I deleted the icon from the dock and added it
- I restarted
- Entered in the user's library and moved the plist on the desktop and restarted...
Any suggestions?
Thank you
Denninc,
Go to System Preferences > language and region > region:... .and all/re-set "in your area".
-
padlock icon does not appear in my Notes app
I ugpraded to IOS 9.3, but the lock icon does not appear in my Notes app? I can't block any note.
Read here:
http://www.IMore.com/how-to-lock-Notes-password-touch-ID-iPhone-iPad
-
Big mistake! I installed microsoft excel viewer
Firefox icon does not appear for saved web pages. Or didn't save IE web pages. I just get the icon "I don't know what to do with this."This has happened
Each time Firefox opened
== I installed microsoft excel viewer
I re-installed excel viewer and the problem is not to be reproduced.
Hope that this does not come to the time where I re - start. -
Satellite A300-129 - Sound is mute and icon does not
Hi all
I am trying to turn on the sound of my Satellite A300-129 after I cut it a couple of days, but the icon does not respond.
When I click on the right button of the mouse, I can go to sounds etc, but "open volume Mixer" is not responding or the other. I also tried to restart the laptop a couple of times, but that did not help.
What can I do? Your help will be very appreciated.Heleen
> How do I do that safely without the risk of losing her forever?
LOL you don't lose anything forever. : D in the worst case you have to reinstall the OS using the Toshiba recovery disc.
Access to Device Manager-> mark the sound card-> with the delete key-> restart the laptop
After restarting again the audio driver needs to be reinstalled again and should detect the sound card.
Maybe you are looking for
-
Beta 37 Firefox on Windows 8.1 has lag and stuttering during scrolling
I recently got a new laptop, and since the minute I installed firefox on it there was delay when scrolling of Web pages. He seems not at first not too bad, with that there is some stuttering when I first open firefox, but it seems that more I am brow
-
I have two partitions of hard drive Macintosh - why?
Do you know why I have a Macintosh HD and a score of Macintosh HD2 beside windows, when I start the Boot Manager? Carbon Copy clone has it, or even Boot Camp? It must be some sort of a recovery partition. According to me, than he has ever been visibl
-
Don't download apps on my iPad
It is not the usual case that plays to the App Store or whatever it is, it's more specific update/download problem. I mean a few months ago I clicked to update my applications (Facebook, Instagram, tumblr), so they changed to the little circle with t
-
Hello My printer makes a horrible the deaf noise when I start to print something. Sometimes it will say open the door of the ink and remove the obstruction. I look and there is no obstruction. any ideas? Thank you
-
Seagate FreeAgent GoFlex USB external hard drive problem
I have a Seagate USB external hard drive. It is loaded with all my pictures and music. I can not open. I did in the past without problem. It is a Seagate FreeAgent GoFlex. It says that I have the drivers updated. I've started and restarted. uninstal