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
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?

 

Developer
Posts: 19,636
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.