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. Application flow in Android (After clicked on HOME button)

Hi everyone,

I have developed on application in Android,
I have one problem which is related with Application flow:
Eg: I clicked on desktop icon and start app.
start the app.
Sequence of the application is :
splash screen -> Home screen -> List of some contents.
And On this last screen when i will clicked on HOME (Device home
button) button then it will go into desktop ,
but after tht i will click on icon of my application then it will
start from first screen. but actually start from List Of Some content
screen,
 This behavior happened only in SAMSUNG GALAXY Android 2.1
it will charm on android 1.6
 ?????????????????????????????????????????????????????????????????/

Thanks in Advance,

-- 

2. weblinks in widget

I am having a TextView in a widget and i have set its link clickable
to true the content of TextView is set by this code

CharSequence link = "http://www.google.com";
 RemoteViews remoteViews = new RemoteViews(context.getPackageName(),
R.layout.main);
 remoteViews.setTextViewText(R.id.TextView01,link);


 when i run the widget and click on the link the application
forcecloses

Help me out .... Thanks ...
 I WANT A LINK TO OPEN A WEB BROWSER IN MY WIDGET if there is some
other way tell me

thanks.....

-- 

3. Start WiFI on emulator

4. Create animated loading image

5. Rotate TV-OUT of the Samsung Galaxy Tab

6. Android AVD 3.0 Problem

7. What happended backend on Android system when an application was launched?