Note that there are some explanatory texts on larger screens.

plurals
  1. POAdd a notification icon at the status bar in BlackBerry JDE 4.5.0
    text
    copied!<p>I'm writing a Java application in <a href="http://en.wikipedia.org/wiki/BlackBerry" rel="nofollow noreferrer">BlackBerry</a> JDE 4.5 that will start listening for some event at the start up. I want to display a small icon at the status bar. </p> <p>I know its support in version 4.6.0 of the BlackBerry API set with ApplicationIcon, ApplicationIndicator and ApplicationIndicatorRegistry classes but which classes are there in BlackBerry JDE 4.5.0 API set?</p> <p><strong>Update</strong></p> <p>I think some support is there for 4.5.0 as I'm using Blackberry Pearl 8100 with OS v4.5.0.81 which displays Notification Icons at status bar for any incoming messages or calls.</p> <p>I made the Alternale Entry point &amp; Main CLDC app like this article below, </p> <p><a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/How_To_-_Setup_an_alternate_entry_point_for_my_application.html?nodeid=800820&amp;vernum=0" rel="nofollow noreferrer">How To - Setup an alternate entry point for my application</a></p> <p>I have got an article as, </p> <p><a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800639/How_to_-_Make_a_running_UI_application_go_to_the_background_and_resume_in_the_foreground.html?nodeid=800545&amp;vernum=0" rel="nofollow noreferrer">How to - Make a running UI application go to the background and resume in the foreground</a></p> <p>in which its said that</p> <p><strong>The alternate entry is going to call the main method with the parameter that is passed in, regardless of whether the application is running.</strong></p> <p>But in my case the main() is not getting called when I click on appIcon when the app is running in background.</p> <p>It only updates appIcon &amp; appName which is previously set in Alternate Entry Point.</p> <p>So I m not getting where the control goes if its not calling main() when clicked on updatedIcon?</p> <p>Is anyone has any idea on this issue?</p> <hr> <p>I updated the appIcon &amp; appName.</p> <p>Now what I want is "When clicked on updatedIcon a particular screen should be opened &amp; when the user goes back to Main Menu the app should get its original Icon, app name &amp; the flow should go through main() when clicked on original app Icon"</p> <p>I was thinking when I click on updated appIcon the control will go to main() but instead of calling main() it says,</p> <pre><code>Starting AppName AppName already running </code></pre> <p>&amp; directly it goes to first screen. and when I come back to Main Menu the app has updated icon &amp; name</p> <p>So how to get it?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload