android - Check the performance of the application? -


hey, finished code , works should i'm wondering since smartphones have limited battery, cpu .. how can check if application run on older phones? , how can check if app consumes phones battery? thanks

the way know test app in phones.

that said, can profile , make educated guesses based on how cpu-intensive app, how long running, if have services using cpu continuously, etc.

there few things consider:

  • the main battery drain screen. if keep kind of screen lock (even dim), destroy battery.
  • any other lock (wifi, etc.), induce battery drain. use them? need them? release them they're not needed?
  • do have hardware listeners (e.g., location, accelerometer), unregister them they're not needed

take @ video: http://www.google.com/events/io/2009/sessions/codinglifebatterylife.html


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -