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: 12
Registered: ‎11-07-2011
My Device: Tourch 9800
My Carrier: o2
Accepted Solution

Using Java libraries in BB Java plugin for Eclipse

Hi,

I am trying to use packages;

 

java.awt.image.BufferedImage

javax.imageio.*

 

in my BB programme, but an error message says 'The import cannot be resolved'. I tried importing JDK sourse files as libraries, but the prblem remains and none of the objects from these classes work in my programme.

 

Please help!! Thanks in advance.

Developer
Posts: 133
Registered: ‎04-30-2010
My Device: Curve 8520
My Carrier: T-Mobile

Re: Using Java libraries in BB Java plugin for Eclipse

With a quick Google, it looks to me that java.awt.image.BufferedImage is a java 2 Platform SE 5.0 (and above) class and javax.imageio is java 2 SE 6.0, and therefore they are available, nor will be usable in a BlackBerry java project which is j2me.
Highlighted
New Developer
Posts: 12
Registered: ‎11-07-2011
My Device: Tourch 9800
My Carrier: o2

Re: Using Java libraries in BB Java plugin for Eclipse

Thank you for that.. that was helpful..

 

New Contributor
Posts: 5
Registered: ‎01-31-2013
My Device: BlackBerry 8520
My Carrier: Softwear

Re: Using Java libraries in BB Java plugin for Eclipse

Set my device up with java