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. onCreateOptionsMenu not called

Hi,

onCreateOptionsMenu for my app isn't called anymore. I tried with SDK
1.0 just yesterday and it worked; today (still on SDK 1.0) the
function isn't called anymore and nothing happens when i hit Menu.

What might be the problem?

Thanks in advance,
Teo
--~--~---------~--~----~------------~-------~--~----~

2. AndAppStore.com Updates

After some very useful feedback I've added the following features;

* Application icons - You can now specify a URL to 32x32 image which 
will be shown by the app.
* Download counts - The system now tracks the number of downloads an 
application version gets.
* Editable application information - You can alter the application 
information after you've submitted the app.
* Latest release more visible - The latest release is easier to find on 
the application information page.
* Improved feedback form - The formatting was a bit tricky on a web browser.

Thanks for everyone's ideas, please keep them coming.

Al.

-- 
Al Sutton

W: www.alsutton.com
B: alsutton.wordpress.com
T: twitter.com/alsutton


--~--~---------~--~----~------------~-------~--~----~

3. eclipse failed to load the framework information and the layout library!

4. Cannot find class android.provider.Telephony

5. Really need help: Services, Intents

6. ANN: Veecheck library published

7. How to use findViewById(int id) out of onCreate() ?