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. View with both text and progress bar

I need to pass a view with both TEXT and a PROGRESS icon.  can this be
done with a single view.???

Here I can pass only single view , so looking for a view which can
have both TEXT and PROGRESS ICON.


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

2. Make some part of an image transparent: Cut a hole to see the background image

Hi All,

I have a scenario at hand, for which I need a solution as soons as
possible. Here is the problem statement:

I need to show an image overlapped by some other image, 100%. The
condition is that the picture in background should also be visible
through the foreground picture but only through some part of the
foreground picture.
Please try to visualise how it should look like. There is a picture
shown and in middle of it, there is a transparent area through which
the background image is visible.
I knew that I can make an image transparent and make the background
image visible but here I want only some part of the foreground image
to be transparent so that it looks like sort of picture frame applied
to the background puicture.
And for those who read the statement carefully would have understood
that the ultimate thing desired is to have a picture frame applied to
the picture.
Can anyone please suggest a good way to do this.

Thanks
Raman
--~--~---------~--~----~------------~-------~--~----~

3. Fullscreen IME problem

4. Mapview deprecated

5. mapview and list of images

6. Nice Opportunities for mobile application developers

7. LocationManager.getLastKnownLocation("gps") returns null instead of location object