Ver Mensaje Individual
  #1  
Viejo 22/04/10, 17:12:34
Array

[xs_avatar]
l0k0m0k0 l0k0m0k0 no está en línea
Miembro del foro
 
Fecha de registro: sep 2008
Mensajes: 42
Modelo de smartphone: HTC Desire

Uso de Task Killers desaconsejado

Mirad esto:

http://geekfor.me/faq/you-shouldnt-b...-with-android

 Cita:
  • Android is hard coded to automatically kill a task when more memory is needed.
  • Android is hard coded to automatically kill a task when it’s done doing what it needs to do.
  • Android is hard coded to automatically kill a task when you haven’t returned to it in a long time.
  • Most services (while possibly running in the background) use very little memory when not actively doing something.
  • A content provider is only doing something when there is a notification for it to give. Otherwise it uses very little memory.
  • Killing a process when it isn’t ready only causes it to have to reload itself and start from scratch when it’s needed again.
  • Because a task is likely running in the background for a reason, killing it will only cause it to re-spawn as soon as the activity that was using it looks for it again. And it will just have to start over again.
  • Killing certain processes can have undesirable side effects. Not receiving text messages, alarms not going off, and force closes just to name a few.
  • The only true way to prevent something from running at all on your phone would be to uninstall the .apk.
  • Most applications will exit themselves if you get out of it by hitting “back” until it closes rather than hitting the “home” button. But even with hitting home, Android will eventually kill it once it’s been in the background for a while.
Questions? Concerns? Feel that I’m wrong? Comment below and let’s discuss!
  • Android está programado para matar una tarea (proceso) cuando se necesita más memoria.
  • Android está programado para matar una tarea cuando ha terminado lo que tenía que hacer.
  • Android está programado para matar una tarea cuando no se a utilizado por un periodo de tiempo largo.
  • La mayoría de servicios (procesos que funcionan en segundo plano) usan muy poca memoria cuando no están activos haciendo algo.
  • Un proveedor de contenido está haciendo algo solo cuando hay una notificación para que lo haga. En caso contrario consume muy poca memoria.
  • Matar (forzar cierre) de un proceso cuando este no está listo, puede causar que tenga que recargarse y empezar su tarea de nuevo desde cero cuando se necesite de nuevo.
  • Una tarea que está pensada para ejecutarse en segundo plano, lo hace por una razón. Matar dicha tarea solo causa que tenga que reejecutarse tan pronto como la actividad con la que estaba relacionada vuelva a buscar algo de este proceso. Esto provocará que el proceso tenga que reiniciarse otra vez.
  • Matar ciertos procesos puede tener efectos secundarios no deseados. Por ejemplo, no recibir mensajes de texto, alarmas que no salta, etc.
  • La única forma real de prevenir que algo se ejecute en el telefono es desistalando la aplicación (.apk).
  • La mayoría de aplicaciones se cerrarán ellas solas cuando le des al botón de "volver" en vez de dar al botón "inicio". Pero incluso pulsando el botón "inicio", Android terminará eliminando el proceso una vez esté en segundo plano.

Última edición por l0k0m0k0 Día 22/04/10 a las 17:24:56.
Responder Con Cita
Los siguientes 5 usuarios han agradecido a l0k0m0k0 su comentario:
[ Mostrar/Ocultar listado de agradecimientos ]