Thursday, April 28, 2011

[android-developers] Re: How to prevent my application from being killed?

a) Don't do time consuming calculations in the main thread. If you do,
the man thread gets blocked and your application will be killed by the
framework. If you need to do time consuming calculations, use threads
for that purpose. If you don't block the main thread, the framework is
not going to kill your application, unless you are doing something
else wrong.

-Ali

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate