Android Appending Values Received From Server

by Bob Kerns » Mon, 19 Apr 2010 13:35:46 GMT

Sponsored Links
 What exactly do you mean by "second usage"?

Just pressing the home key and then tapping your program icon won't
create a new activity instance, unless the old one has been deleted.
You can't depend on it being deleted, in fact, you'd prefer it not be.

Study the diagram in the Activity class documentation (a screen or two

Note that there are paths that take you back into the activity.
Depending on what exactly what data is you're getting from the server,
you may want to reinitialize in onResume() or onStart(). My guess
would be onStart() -- I think you probably don't want to re-fetch data
just because a dialog popped up, then returned control to your

Likewise, you may want to de-initialize the data (for example, null
out the variable containing it) in the onStop() method, which will
allow the memory to be reclaimed sooner.


Android Appending Values Received From Server

by Kumar Bibek » Mon, 19 Apr 2010 16:25:22 GMT

 I think, you have a wrong logic in your program. Debug it through and
check what the server is actually returning. If you have written the
server program, check that as well.

Thanks and Regards,
Kumar Bibek

> >

Sponsored Links

Other Threads

1. How to use ndk to compile template classesé”›

As you know that template classes are implemented in the   ".h"
header files, and the ndk is not build the ".h" files.

When the ndk link the obj files, it will failed that the template
classes are not implemented.

Who can help me fix this? Thank you very much, please~


2. [WTS] Motorola Defy.

Halo ,

Ijin kelar lapak , 1pcs Motorola Defy kondisi new , non garansi. Dibuka buat 
test semua nyala saja @4,5juta Nett.

Japri : / 08122 1111 191.


Ary Malik 


3. [WTS] Moto Milestone 2nd like new

4. How to select a Contact Group, so not to create an "Invisible Contact" ?

5. About "?" in a URI

6. [WTA] anti glare dan case buat motorola quench xt 5

7. Potongan 100rb buat beli htc android