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. Video Telephone (VT) on Android

Hi,

I was heard that VT (video telephone) has been implemented on
opencore. I wonder when this feature will be released on Android.

Thanks

CJ
--~--~---------~--~----~------------~-------~--~----~

2. Which app do you think has made the best money?

ok sorry to make a thread about money, but its something we all think
about right?

Anyway which app do you think has made the most money to date? Also
through other channels, e.g. advertising, etc.

To start the ball rolling, here are some popular apps ranging from
cheaper to most expensive and I have estimated revenue based on the
middle point of the download bracket (probably wildly out, but what
else do we have to go on) I then took off 30% for Google Checkout Fees
but I have no idea about tax rates for these devs.

Power Manager Full
    $0.99 (10,000 - 50,000) -> $29,700 = $20,790 (after fees)

aHome
     $4.99 (10,000 - 50,000) -> $149,700 = $104,790 (after fees)

TouchDown Pro License
     $24.99 (500 - 1,000) -> $18,743? = $13,121 (after fees)

So I am thinking aHome is doing best - wish I'd written it myself
now!!!

Anyone think of any apps doing even better?
--~--~---------~--~----~------------~-------~--~----~

3. How can i get back to Android 1.5 version After Restoring to Default Factory.

4. How to change the state of a stateful drawable?

5. Davik error

6. How can i get back to Android 1.5 version After Restoring to Default Factory.

7. errno=Connection timed out