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
Highlighted
Trusted Contributor
Posts: 176
Registered: ‎04-12-2012
My Device: Bold 9780 & Curve 8250
My Carrier: vodacom
Accepted Solution

txt file not found

Hello all

 

Instead of using a db in my app I am using txt files, when the app is started for the first time on a clients phone the console states "txt file not found", but the second time the client accesses the app then the txt files are found and data is read off of the txt files. has anyone experienced this problem or maybe any similar problems, please help me.

 

Thank you

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: txt file not found

Where are the text files stored? 

 

Do you see this on the SImulator?

Developer
Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10
My Carrier: Aircel

Re: txt file not found

try to create that txt file on a thread.
Trusted Contributor
Posts: 176
Registered: ‎04-12-2012
My Device: Bold 9780 & Curve 8250
My Carrier: vodacom

Re: txt file not found

Hey all

 

My app was crashing in my UI thread and there for the app was not reading/ creating the txt files the first time the app is being accessed

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: txt file not found

Your post is not clear to me.  But the question is, do you still have a problem?  If not great, please mark as solved.  If you still do, can you have another go at explaining it.  Thanks