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
New Developer
Posts: 3
Registered: ‎12-31-2008
My Device: Not Specified

using uncodumented fields with the Blackberry Eclipse plugin

Is there way to compile a blackberry project in Eclipse that makes use of undocumented fields.

 

I've installed the Eclipse 3.4 and the latest plugin using the full installer.  A project that builds properly in the Blackberry JDE has several compile errors when building in eclipse.  The errors seem to be from undocumented fields that work fine in the Blackberry JDE.

 

Example of an error is when attempting to access net.rim.device.api.ui.Font.ANTIALIAS_STANDARD  I don't know any other way to specify the anti alias mode without this field but it means the project cannot compile in eclipse.  Anybody else have this problem and a solution to it?

 

Ryan

Developer
Posts: 19,616
Registered: ‎07-14-2008
My Device: Not Specified

Re: using uncodumented fields with the Blackberry Eclipse plugin

Since Font.ANTIALIAS_STANDARD just seems to be an int, could you just replace the constant with the actual value, or your own static value?