[android-developers] How to monitor android application memory leak? is there tools do it?

2011-01-10 Thread water boiled
I want to find my android application whether has memory leak  . and
some tool help me do i

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: AsyncTask why not must be created in UI thread?

2011-01-03 Thread water boiled
thanks everybody!

On 2010年12月31日, 下午2时50分, Bob Kerns r...@acm.org wrote:
 You need to create the AsyncTask instance on the UI thread, but the
 doInBackground() method runs in a separate thread.

 The reason for creating the AsyncTask instance on the UI thread is so
 that it can connect to the proper Looper and MessageQueue for that
 thread. (It does this through a single static Handler, so it will not
 work correctly if you first load the class in a different thread.
 That's unnecessarily fragile, in my opinion, but not a problem if you
 are using it as intended, as an easy way to move code off the main
 thread.)

 On Dec 30, 9:39 pm, water boiled boiledwater4...@gmail.com wrote:







  I mean that can i create AsycnTask instance not in UI thread?

  On 12月31日, 下午1时30分, water boiled boiledwater4...@gmail.com wrote:

   I mean that can i AsycnTask instance not in UI thread?

   On 12月31日, 下午1时24分, water boiled boiledwater4...@gmail.com wrote:

the AsycnTask document says that:The task instance must be created on
the UI thread.

why create task instance must be created in UI thread?

On 12月29日, 上午10时26分, Frank Weiss fewe...@gmail.com wrote:

 It's difficult to understand what you are asking. What problem are you
 having with AsyncTask.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: AsyncTask why not must be created in UI thread?

2010-12-30 Thread water boiled
the AsycnTask document says that:The task instance must be created on
the UI thread.

why create task instance must be created in UI thread?


On 12月29日, 上午10时26分, Frank Weiss fewe...@gmail.com wrote:
 It's difficult to understand what you are asking. What problem are you
 having with AsyncTask.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: AsyncTask why not must be created in UI thread?

2010-12-30 Thread water boiled
I mean that can i AsycnTask instance not in UI thread?


On 12月31日, 下午1时24分, water boiled boiledwater4...@gmail.com wrote:
 the AsycnTask document says that:The task instance must be created on
 the UI thread.

 why create task instance must be created in UI thread?

 On 12月29日, 上午10时26分, Frank Weiss fewe...@gmail.com wrote:







  It's difficult to understand what you are asking. What problem are you
  having with AsyncTask.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: AsyncTask why not must be created in UI thread?

2010-12-30 Thread water boiled
I mean that can i create AsycnTask instance not in UI thread?

On 12月31日, 下午1时30分, water boiled boiledwater4...@gmail.com wrote:
 I mean that can i AsycnTask instance not in UI thread?

 On 12月31日, 下午1时24分, water boiled boiledwater4...@gmail.com wrote:







  the AsycnTask document says that:The task instance must be created on
  the UI thread.

  why create task instance must be created in UI thread?

  On 12月29日, 上午10时26分, Frank Weiss fewe...@gmail.com wrote:

   It's difficult to understand what you are asking. What problem are you
   having with AsyncTask.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] AsyncTask why not must be created in UI thread?

2010-12-28 Thread water boiled
Asynctask why not must created in ui thread?

thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en