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. Android & FreeTTS

Hello, I'm trying to make an sms reader with the ability to "read" the
messages to the user, for this, I tried to use freetts but when trying
to build just after adding the jar files, I get an android error.  I
recall having read here some of this, and that people spent some weeks
or months working on this and finally made it work correctly... is
this correct? is it possible to get a version of FreeTTS that works
with Android?
Is there any other tts software that can work with android?


thanks!
Federico
--~--~---------~--~----~------------~-------~--~----~

2. What can and can't be done in Services

Hello,

Basically, I have the set of locations stored in a database and I want
proximity alerts to be fired when the user is close to them. I
currently have code that works and fires proximity alerts correctly
when WITHIN the application. However, I want these alerts to be fired
when the phone starts -- regardless of whether the application is
running or not...hence the need for a service.

I just wanted to know, from someone who has had experience with
services, whether such functionality is possible. The service would
need to query the database for the locations, add proximity alerts and
then listen for them and display notifications when an alert is
raised.

Is such a thing possible with services -- so far all of the examples I
have seen have been quite basic? Alternatively, could anyone think of
any better suggestions on how I might implement the required
functionality without services?

Thanks in advance.

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

3. I have made new application - Calculator for android

4. gallery issues

5. Title bar color and style

6. relative layout is not working at all?

7. How to control the image size in a ListView?