RE: alternative filesystem view

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <000601c5ee14$ae79c660$6400a8c0@HOME>
> >I prefer the original way of only updating the parts of the file
> >system that have been queried from the phone rather than deleting
> >all and starting again
> 
> How do you ensure that the last query was from the same phone, or that the
> phone's file system has not changed since?

Without the phone being able to send events every time its filesystem
changes the viewer is always going to be out of date. It can only show
historical data. It is impossible to 100% guarantee that the data is
accurate; I don't think the changes you made make a significant improvement
in accuracy as the directory structure almost never changes.
The original treeview displayed the available data and updated it as new
data came from the phone, I think we should continue with this design; it
has worked OK for users for a few years now. All I intended when changing
the view was to make the GUI function similarly to filesystem viewers on
windows and linux, I reused all the code from the old class with respect to
phone communication, there is more risk that we will break something on an
untested phone if the way we communicate with phone is changed.

For changing phones, we should add a method in the viewer that gets called
when the phone changes, this would delete the tree view contents and return
the viewer to it's initial state.

Simon



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.