and once you have done all that you may notice no performance gain at all
because all along the bottleneck was you phone's data connection speed...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to androi
AsyncTasks are not threads.
They are chunks of work (like getting a web-document) that are executed on a
pool of (background) threads.
Read the documentation of AsyncTask carefully. Figure out a way to have a
pool of more than one background threads (happens 'automatically' for
Android OS versi
To do concurrent HTTP request I guess threads are the way to do that?
Creating a thread within a thread results here in an "Can't create
handler inside thread that has not called Looper.prepare()"error.
And I cannot find another way without multiple threads.
On 4 mei, 17:27, Dianne Hackborn
This isn't really an Android-specific question -- you will probably get good
answers just looking for ways in Java to do concurrent HTTP requests.
On Wed, May 4, 2011 at 11:22 AM, Stefan wrote:
> The problem at this moment with the app is that the retrieval of the
> html code from the website ta
The problem at this moment with the app is that the retrieval of the
html code from the website takes a lot of time.
When you start the app at this moment, you'ill have to wait 3 minutes
for loading the website.
That's not very user friendly, and I guess that downloading just a
little bit html cann
This sounds a little bit diffecult to I'm not very experienced in
writing my own ASyncTask, or creating a custum handler.
Isn't it possible to create a new thread withing the asynchtask. So
the big task is plitted up in several smaller tasks.
On 4 mei, 16:27, Satya Komatineni wrote:
> An A
Hi
It might be the case to use a stick service and keep the thread
running. Refer the SyncManager service from the AOSP email
application. Hope it helps
On Dec 12, 2:31 pm, Rustam Kovhaev wrote:
> scratch that, I am simply tired for today ^)
>
> //service on destroy
> public void onDestroy() {
>
scratch that, I am simply tired for today ^)
//service on destroy
public void onDestroy() {
handler.getLooper().quit();
}
2010/12/13 Rustam Kovhaev
> Hello there,
>
> I have a service from which I constantly call another service(lets call it
> B service),
> the problem is that in B service I ha
8 matches
Mail list logo