how to dynamically update textview?

Put your problem here if it does not fit any of the other categories.

how to dynamically update textview?

Postby appleboy.naughtee@gmail.com » Fri Feb 11, 2011 7:08 am

Hi im displaying the contents of a file but i'd like to display it dynamically when ever the file contents change as long as the user stay on the screen.. help me!!
appleboy.naughtee@gmail.com
Freshman
Freshman
 
Posts: 4
Joined: Wed Jan 19, 2011 9:43 am

Top

Re: how to dynamically update textview?

Postby strider2023 » Mon Feb 28, 2011 1:27 pm

Use a thread to refresh and check for changes in content.
strider2023
Senior Developer
Senior Developer
 
Posts: 126
Joined: Tue Mar 02, 2010 6:34 am
Location: Chennai, India

Re: how to dynamically update textview?

Postby raj_J2ME » Mon Feb 28, 2011 1:34 pm

appleboy.naughtee@gmail.com wrote:Hi im displaying the contents of a file but i'd like to display it dynamically when ever the file contents change as long as the user stay on the screen.. help me!!


The most important thing here is to get the notification of the content change in the file. You have to keep on checking the content inside the file, as soon as you get the notification that the content is changed, read the file and do the operation on the content, as suggested by the strider2023 do this inside the individual thread itself.. :)
Thanks with Regards,
Raj - The Kernel
raj_J2ME
Master Developer
Master Developer
 
Posts: 311
Joined: Tue Feb 15, 2011 7:40 am
Location: The Capital of India,

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 18 guests