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. warning The opening audio output failed

When I start emulator it gives message on command prompt "The opening
audio output failed"
why this mesg come.

After launching home activity it gives another dialog "android.phone
not responding force close ", what reason behind this mesg.

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

2. Identifying GUI items of the IM chat dialog

Hi,

currently I am developing a chat like application.
I would like to use a similar GUI as used in the IM app (Google talk /
MSN).


As a beginner (in Android development) its quite difficult to
recognize what GUI elements are used.

I made a photo of the IM (Gtalk) GUI:
http://www.falcon4ever.com/chatscreen_items.jpg

Hopefully someone can help me out and explain which how these elements
are called.

My guesses:
1. A listview? (But how did they made it light pink/white depending on
the text msg? They used special keywords?)
2. EditText
3. Button
4. A background image? Is it part of the 'listview' or is the listview
perhaps transparant somehow?
5. Blue background, is it some kind of 'group' object or a rectangle
object?
6. Top bar, no clue how its called or how I can set the text.

Kind regards,
- Laurence

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

3. UK T-Mobile trying to boost sales of the G1

4. Depression Gadget?

5. G1 Enhancements I'd Like

6. Issue with outgoing calls on G1

7. Connection Failure when starting to monitor device 'emulator-5554' : device (emulator-5554) request rejected: device offline