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
Contributor
hakisukta
Posts: 18
Registered: ‎01-10-2013
My Device: Amstrong
My Carrier: Indosat

import ......... cannot be resolved....

import net.rim.device.api.ui.decor.Border;
import net.rim.device.api.ui.decor.Background;

import net.rim.device.api.ui.TouchEvent;

 

cannot be resolved.... 

 

Error...

 

what should i do for this kind of error?

 

Please use plain text.
Developer
peter_strange
Posts: 19,603
Registered: ‎07-14-2008
My Device: Not Specified

Re: import ......... cannot be resolved....

What level of OS are you compiling against?

 

Decor and Background were introduced in OS 4.6,  TouchEvent in OS 4.7, so if you are compiling in OS 4.5, these are not available. 

Please use plain text.