I'm sorry, but I'm not really following or understanding what you're doing.
Could you clarify or post some sample code?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking


On Tue, Jan 5, 2010 at 2:35 PM, Stefan <ebay-dah...@web.de> wrote:

> On Jan 5, 6:48 pm, TreKing <treking...@gmail.com> wrote:
> > > Couldn't figure a way to save my overlay class to bundle
> >
> > Have your Overlay class implement the Parceable interface, which you can
> > then save to / restore from a Bundle.
> >
>
> hmmm, in my case i have always a new overlay for each line on my map:
> in every iteration/run of the onLocationChanged method i call
> overlay = new MyOverlay(....)
> before i know the MyLocationOverlay i draw my current location with
> the drawOval and for this overlay-object (my_pos = new MyOverlay
> (...) ) i use the parcelable.
> But i dont know how i can save my other "normal" overlays, because in
> each iteration/run i override my overlay object?
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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