There are all sorts of bad things an application can do to a device.
Filling the logs with debug info (which eats up disk space and CPU
power) is just one of them.  Eclipse or any other SDK or IDE can't
magically fix application code.

As hackbod mentioned, the best way to do this is to wrap all of your
logs in something like this:

  if (DEBUG_LOG) {
      Log.d(TAG, "my log");
  }

By defining DEBUG_LOG as a static final boolean, you give the compiler
the ability to remove it entirely, making your shipping .apk smaller
and faster.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to