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

Posts: 30
Registered: ‎04-13-2010
My Device: N/A
My Carrier: T-Mobile

How to read files using Eclipse IDE with BB plugin

How to read files using Eclipse IDE with BB plugin, just a code for doing that would be nice. Also include imports if possible.


I use:


Eclipse IDE 3.4.1

BB Plug-in for Eclipse

Your neighborhood programmer.
Posts: 1,055
Registered: ‎01-25-2009
My Device: BlackBerry Bold 9650/BlackBerry Torch 9800

Re: How to read files using Eclipse IDE with BB plugin

This link should give you enough code to get you going.



Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful
Posts: 192
Registered: ‎09-23-2009
My Device: 9860/PlayBook/Dev Alpha
My Carrier: Plus GSM

Re: How to read files using Eclipse IDE with BB plugin

Tip: The biggest cost on reading files is on opening or skipping content, good idea is when you have read different parts of the file to split it into smaller parts (for fast skipping). InputStream for binary files supports 'reset' function, which is much, much, much faster than close & open operation.

Found my post helpfull? Like it! It solves your trouble? Help others and accept it as solution. Search before asking.
My apps: Secret Cod3s | Should my tablet be banned?
Jakub Nietrzeba
PGS Software S.A.
Your reliable partner in Poland - IT Outsourcing - BlackBerry, iPhone, Web and Standalone applications