Re: [android-developers] Re: Passing objects to new intents

2011-01-28 Thread Kumar Bibek
Perhaps, a mismatch of title and content. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jan 28, 2011 at 5:26 PM, Mohamed KARAMI wrote: > *Hi, > > I have I9000** with I9000JPJG8 firmeware, Market application work > perfectly but, i can't find Google maps in the Market

Re: [android-developers] Re: Passing objects to new intents

2011-01-28 Thread Mohamed KARAMI
*Hi, I have I9000** with I9000JPJG8 firmeware, Market application work perfectly but, i can't find Google maps in the Market, I have found some articles that says there is a license issue, I used the bar code of maps application, but Market return no application. Any ideas. * -- You received th

Re: [android-developers] Re: Passing objects to new intents

2011-01-28 Thread Kostya Vasilyev
Serializable has higher overhead than Android's similar built-in interface, Parcelable. Try using Parcelable if possible, and consider support for Java serialization a fall-back (for compatibility with legacy and library code). -- Kostya 28.01.2011 14:44, maccoy пишет: why not class implemen

Re: [android-developers] Re: Passing objects to new intents

2010-12-30 Thread TreKing
On Thu, Dec 30, 2010 at 3:36 AM, maomaostevencao < maomaosteven...@hotmail.com> wrote: > What you have said is the common way to pass arguments to an activity. > Right. > But my question is about how to pass an object of user defined class to an > activity. > Passing a user defined object to a

RE: [android-developers] Re: Passing objects to new intents

2010-12-30 Thread maomaostevencao
nheritance hierarchy. _ From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of TreKing Sent: Thursday, December 30, 2010 7:56 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Passing objects to new intents On Tue, Dec

Re: [android-developers] Re: Passing objects to new intents

2010-12-29 Thread TreKing
On Tue, Dec 28, 2010 at 11:52 PM, maomaostevencao < maomaosteven...@hotmail.com> wrote: > If I want to load a new activity and pass some of arguments using this > way, I have to get the reference of this new activity, but seems platform > doesn't provide any API to get it. How can you do it? I mea

RE: [android-developers] Re: Passing objects to new intents

2010-12-28 Thread maomaostevencao
m [mailto:android-develop...@googlegroups.com] On Behalf Of TreKing Sent: Monday, December 06, 2010 5:35 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Passing objects to new intents On Sun, Dec 5, 2010 at 2:42 PM, Neilz wrote: 1) This is useful as you can put a lot of c

Re: [android-developers] Re: Passing objects to new intents

2010-12-05 Thread TreKing
On Sun, Dec 5, 2010 at 2:42 PM, Neilz wrote: > 1) This is useful as you can put a lot of common methods and vars in > there,,, > As Mark said you can't really do this if you use any of the derived Activity classes (List, Tab, and especially Map). For this kind of "common activity stuff" I create

Re: [android-developers] Re: Passing objects to new intents

2010-12-05 Thread Mark Murphy
On Sun, Dec 5, 2010 at 3:42 PM, Neilz wrote: > Now maybe this is obvious, but I must say I haven't seen this in any > other examples. I'm wondering if there's something 'wrong' with  this, > any reason why this shouldn't be done? 1. Watch for memory leaks. Do not put things in static contexts tha

Re: [android-developers] Re: Passing objects to new intents

2010-11-30 Thread TreKing
On Tue, Nov 30, 2010 at 1:11 AM, Doug wrote: > > Parcelable is not such a headache once you get the boilerplate code out of > the way. > It's not only the repetitive "CREATOR" stuff. I found that if I send a custom parcelable to a Service which was to start after my main Activity had gone away, l