Application crashes when downloding long data in from server and in loop.............

by imran ali » Fri, 20 May 2011 19:22:33 GMT


Sponsored Links
 Hi all
I have been using AsyncTask<Context, Integer, String> to download data
from server,
in between it has been crashing with message in DDMS.
05-20 16:37:11.656: DEBUG/Zygote(33): Process 9489 terminated by
signal (11)

can any one has idea, what would be solution, i am downloading big
size of data approx 10MB of text.

Regards
Imran ali

-- 



Re: Application crashes when downloding long data in from server and in loop.............

by Daniel Drozdzewski » Fri, 20 May 2011 19:36:04 GMT


 Imran,

Any debug info?
Listing of your doInBackground() perhaps?

Are you saving the whole 10MB of text into memory or do you save it to
a file via some buffer?

Daniel








-- 
Daniel Drozdzewski

-- 


Sponsored Links


Other Threads

1. changing AVD cause android.content.res.Resources$NotFoundException

Hello all,

I'm developpping an android application with eclipse and android
eclipse plugin, I was using a simple avd (version 1.6) without sd card
and all worked well (mean emulator launch and debug). But for sdcard
usage, I had to create a new avd 1.6 with sdcard, so I change my debug
configuration to use this new avd. The problem is when I debug, the
emulator is well launched, I had every time a
Resources.NotFoundException on the first line of code which use my
R.java file (even for a simple string)
It's like the codes in R.java aren't good, but I didn't change them.

If I return my debug configuration to the first avd 1.6 without sd
card, it works well again, even if I uninstall the application before.

Really don't understand...

Thanks in advance for your help

Thomas

--

2. map sdcard to drive letter or directory on windows



Oh, sorry. Ummm...unless somebody creates a Windows storage driver that
maps over adb or something, I doubt that's possible. Though you might
poke around the documentation for qemu -- the underlying engine for the
emulator -- to see if anything pops up that might fit the bill.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

-- 

3. sorry cannot play this video!?

4. map sdcard to drive letter or directory on windows

5. map sdcard to drive letter or directory on windows

6. map sdcard to drive letter or directory on windows

7. please help me with opengl exception.