hi all,i want to  transfer a geopoint from a mapActiviy to the other
activity,the code is below:

                      Geopoint p= items.get(i).getPoint();
               Intent intent=new Intent();
Bundle bundle=new Bundle();
bundle.putSerializable("key", (Serializable)p);
intent.putExtras(bundle);
intent.setClass(TaoMapMain.this, ShopActivity.class);
   startActivity(intent);

But the the system  exists a error java.lang.ClasscastException,who can
offer me a best methods? if i transfer  latitude and logtitude,then it is a
fool way! any best method?
-- 
xhy

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

Reply via email to