Friday, May 21, 2010

Re: [android-developers] how to transfer a geopoint from a mapActiviy to the other activity

On Fri, May 21, 2010 at 10:11 AM, xhy <xhygood@gmail.com> wrote:
i just think that tranfering  a Object  is a senseable  way !

It is!
But GeoPoint is neither Serializable or Parcelable!
So you can't!
If you want to transfer an object, create your own object that has lat and lon properties and is Serializable or Parcelable and pass that!

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

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment