Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Administrator
MSohm
Posts: 14,065
Registered: ‎07-09-2008
My Carrier: Bell

Re: can't see the alternate entry point icon

Can you post a screen shot of your project properties?  Specifically the Application tab.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
salveo_8130
Posts: 17
Registered: ‎07-30-2008

Re: can't see the alternate entry point icon

Actually yesterday I already tried to post it, but I couldn't, no matter by trying to insert as a local word document or as a local image, on XP or Vista. Today my colleague tried again but also failed.

 

I can't post an image on our company website. So here is a detailed description of the Application tab, with "black/grey/grey blue" being my description of the text color:

 

Project type : CLDC Application  (black:black)

Alternate Entry point for: RimHelloTest (grey:greyed blue)

Name of main MIDlet class: empty (grey: -)

Arguments passed to "static public void main(String args[])": gui (black:black)

Home screen position (0 if no preference): 1 (black:black)

System module: unchecked (black:black)

Auto-run on startup: unchecked (black:black)

Startup Tier: 7(Last;3rd party apps only)  (grey:grey blue)

 

All the other tabs are untouched and kept as default.

Please use plain text.
Developer
salveo_8130
Posts: 17
Registered: ‎07-30-2008

Re: can't see the alternate entry point icon

OK,  let me try again...

 

project setting

 

Great, here it is. It seems to be my desktop mapping problem...

Please use plain text.
Developer
salveo_8130
Posts: 17
Registered: ‎07-30-2008

Re: can't see the alternate entry point icon

Here is the application tab for my background app:

 

 

 

Here's the general tab:

 

 

 

Here is my workspace arrangement:

 

 

 

 

BTW, right now I have both 4.3 and 4.6 installed, does it matter?

Please use plain text.
Administrator
MSohm
Posts: 14,065
Registered: ‎07-09-2008
My Carrier: Bell

Re: can't see the alternate entry point icon

The links to your images appear to be broken (broke in my browser anyway).

 

Having multiple versions of the BlackBerry JDE is fine, it shouldn't cause an issue.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
salveo_8130
Posts: 17
Registered: ‎07-30-2008

Re: can't see the alternate entry point icon

I can't post an image on our company website. So here is a description of the Application tab of the entry point project, with "black/grey/grey blue" being my description of the text color:

 

---

Project type : CLDC Application  (black:black)

Alternate Entry point for: RimHelloTest (grey:grey blue)

Name of main MIDlet class: empty (grey: -)

Arguments passed to "static public void main(String args[])": gui (black:black)

Home screen position (0 if no preference): 1 (black:black)

System module: unchecked (black:black)

Auto-run on startup: unchecked (black:black)

Startup Tier: 7(Last;3rd party apps only)  (grey:grey blue)

---

 

I feel there is something wrong with the fields being greyed.

 

All the other tabs are untouched and kept as default for this project.

Please use plain text.
Administrator
MSohm
Posts: 14,065
Registered: ‎07-09-2008
My Carrier: Bell

Re: can't see the alternate entry point icon

The "Alternate Entry point for" box is greyed out because you have the Project type set to "CLDC Application".  If you change this to "Alternate CLDC Application Entry Point" you can select the project that it is the entry point for.

 

Selecting "CLDC Application" means that this is an application (stand alone application), not an alternate entry point for another project.

 

Do you have multiple projects or is this the single project for your application?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
salveo_8130
Posts: 17
Registered: ‎07-30-2008

Re: can't see the alternate entry point icon

I used to look for but didn't see any "Alternate CLDC Application Entry Point" choice at all in that box, neither in v4.3 or v4.6. That was why I assumed CLDC type should be OK. I just uninstalled both versions,restarted my PC, and reinstalled the v4.3 again. Now I do see the choice, only for the entry point project though.

 

I cleaned all and built all, but still saw the same two warnings and no icon showed up. Another problem of the JDE still exists:  Help-> API Reference brings a error message "Windows cannot find 'lastHelpVisited.html'. Make sure you typed the name correctly, and then try again."  Since I've been able to access the API reference from Window's Start menu directly, I never mentioned this before. Now I wonder if all the problems are caused by Vista.

 

I also has a resource project active (so totally 3 active projects), though it only deals with English for now. I set its project type to be "library", since it doesn't look to me like a Midlet or CLDC application, which are the only other choices.

 

Will you suggest me switch to XP?

Please use plain text.
Administrator
MSohm
Posts: 14,065
Registered: ‎07-09-2008
My Carrier: Bell

Re: can't see the alternate entry point icon

The "Alternate CLDC Application Entry Point" will only show up if the workspace has a "CLDC Application" project already.  Otherwise, there is nothing to create an alternate entry point for.

 

Have you added the source code with your main in it to the CLDC Application project?  Or does it reside somewhere else in your workspace?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.