Posted by faisal29
on May 20, 2009 at 5:18 AM PDT
I'm developing an mobile Flight schedule finder. major task is to do it offline. I was able to fetch data from my .txt file, which I did as per PerstLite example illustrated. in that example they are comparing a single field with DB.
Iterator iterator = root.depStn.prefixIterator(SRC_CODE);
// pass iterator through all located objects to the
// ScheduleForm constructor
new ScheduleForm(uar, iterator, uar.menu);
the above code only compares source station.
I need two fields to be compared, i.e, source and destination stations are to be compared. how can it be done.
your time & patience are appreciated.