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
anjan
Posts: 6
Registered: ‎08-27-2008
My Device: Not Specified
Accepted Solution

How To Read A Text File In JDE

Hi,

I am developing an application where Ineed to read entire/some content from a Text file.  Can anybody give me some help what API orprocedure do I need to use.

 

Thanks & Regards

Anjan

Developer
rafo
Posts: 507
Registered: ‎07-15-2008
My Device: Not Specified

Re: How To Read A Text File In JDE

Check this link
----------------
if your issue solved set "Solution" mark at the relevant post
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: How To Read A Text File In JDE

Just for completeness, you can package a file with your application and read it as explained in the following article.  I still use this mechanism occasionally, but I think the SDCard read as suggested in the link supplied by rafo is probably the way to go...

 

How To - Add plain text or binary files to an application
Article Number: DB-00148

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_...

New Developer
anjan
Posts: 6
Registered: ‎08-27-2008
My Device: Not Specified

Re: How To Read A Text File In JDE

Thanks rafo