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: 18
Registered: ‎02-04-2010
My Device: Blackberry 8330

Re: Attaching a text file with program and making the next button generate a new file

Here are the imports I used, i dont know if you still need them sorry for the delay I only work tuesdays and thursdays.

 

import java.io.InputStream;

import net.rim.device.api.io.LineReader;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.component.RichTextField;
import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.ui.container.VerticalFieldManager;

 

Developer
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: Attaching a text file with program and making the next button generate a new file

The imports are not relevant to whether sexfacts.txt can be found. Here's what you need to check:

 

Make sure that you have added a file named sexfacts.txt to the resource directory for the project.

Look inside the .jar that is created when the project is built and checked that sexfacts.txt was actually included in the packaged application.

 




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.