hi,
any ideas how i can send back my collected trackpoints if I have read
50 (the SaxParser parse 50 trackpoints in one second in my app) for
example? If I use this in the startElement function,....:
else if (localName.equals("trkpt")) {
......
   if(counter%50 == 0)
   {
     gpxHandler.sendEmptyMessage(1);
   }
}
.... the SaxParser will continue parsing and so my object, which will
collect my trackpoints is greater than 50, if i call getTrackpoints
out of my Handler. Or if I stop the SaxParser, can I remember the
point, where I stop parsing?? I don't think so.
Its important because I want to overwrite the trackpoint object, if i
have send it back to my Main-class (my sax Parser is in another java
file)

Thanks,
Stefan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to