Posts Tagged ‘logcat’

Five Android Logcat Related Open Source Apps for Developers

Android Logcat is very useful for Android developers, which provides a mechanism for collecting and viewing system debug output. By logcat, logs from various applications and portions of the android system are collected in a series of circular buffers, which then can be viewed and filtered. Here is five Android Logcat Related Open Source Apps.

1. Android-logger: Android logcat viewer

Android-logger is a way for you to view the logcat output on your phone. Each type of log message is displayed with a different color. You also have the ability to filter the output to only show you debug, info, warn, error and verbose. You can switch back to seeing all messages by selecting the filter menu option and choosing All from the list. Below are a few screenshots of the application, it is available under the GPLv2 and available to the right, in the Downloads section and in the Android Market.

Project Home: http://code.google.com/p/android-logger/

For more details about android-logger, you can find by the previous post in Cute Android: android-logger

2. aLogcat: Android Log Viewer (logcat) Application

aLogcat is the well-known developer tool logcat, in the form of an Android application.

Project Home: http://code.google.com/p/alogcat/

3. Android-log-collector: Collects the log and sends to a developer

Collects output of logcat and sends it to a developer using email or messaging. Can be used as a standalone application or invoked through the intent API by another application. Usage example is provided for developers who would like to integrate with the Log Collector through the intent API.

Project Home: http://code.google.com/p/android-log-collector/

4. LogcatActivity in android-random

LogcatActivity is a sub-project of android-random, which is a predecesor to RemoteLogcat, allowing you to view the Logcat output on the handset, and optionally save a limited history to a file on the device.

Android-random is a collection of extended examples for Android developers.

Project Home: http://code.google.com/p/android-random/

5. Android-logcat-reader: An app for Android phones to view Logcat

Based on LogcatActivity in android-random, this application adds a few extra, essential changes.

The main difference is this project has support for filtering and writes the log to an accessible location for non-rooted phone users.

Project Home: http://code.google.com/p/android-logcat-reader/

Posted by Cute Android

2 comments - What do you think?  Posted by CuteAndroid - May 13, 2010 at 3:30 pm

Categories: Android, Android Application, Android app, Android developer   Tags: , , , , ,

Open Source Android Apps for developers: android-logger

If you want Logcat running on the emulator or the Android phone, Android logcat viewer android-logger is a good choice!

Apps Description

Logger is a way for you to view the logcat output on your phone. Each type of log message is displayed with a different color. You also have the ability to filter the output to only show you debug, info, warn, error and verbose. You can switch back to seeing all messages by selecting the filter menu option and choosing All from the list. Below are a few screenshots of the application, it is available under the GPLv2 and available to the right, in the Downloads section and in the Android Market.

Project Home
http://code.google.com/p/android-logger/

Project owners
michael.novakjr

Version
1.2

Apk Downloads
You can download the latest package on the download section at android-logger project home.

Check Out Source Code

The source for this project is hosted on github.com due to Google Code’s current lack of git support. The link to the repository is below.

Logger Git Repository

To Checkout:

git://github.com/androidnerds/logger.git

Screenshots
Read more…

1 comment - What do you think?  Posted by CuteAndroid - April 9, 2010 at 4:12 pm

Categories: Android, Android Application, Android app   Tags: , , , , , ,

Tips for Android developer: Logcat

As Android developer, Locat is a useful tool for debugging, and you can use it through Eclipse or by “logcat” command in the “adb shell”. The usage of logcat is:

logcat [options] [filterspecs]

options include:
-s Set default filter to silent.
Like specifying filterspec ‘*:s’
-f <filename> Log to file. Default to stdout
-r [<kbytes>] Rotate log every kbytes. (16 if unspecified). Requires -f
-n <count> Sets max number of rotated logs to , default 4
-v <format> Sets the log print format, where
is one of:

brief process tag thread raw time threadtime long

-c clear (flush) the entire log and exit
-d dump the log and then exit (don’t block)
-g get the size of the log’s ring buffer and exit
-b <buffer> request alternate ring buffer
(‘main’ (default), ‘radio’, ‘events’)
-B output the log in binary
filterspecs are a series of
<tag>[:priority]

where <tag> is a log component tag (or * for all) and priority is:
V Verbose
D Debug
I Info
W Warn
E Error
F Fatal
S Silent (supress all output)

‘*’ means ‘*:d’ and <tag> by itself means <tag>:v

If not specified on the commandline, filterspec is set from ANDROID_LOG_TAGS.
If no filterspec is found, filter defaults to ‘*:I’

If not specified with -v, format is set from ANDROID_PRINTF_LOG
or defaults to “brief”

Be the first to comment - What do you think?  Posted by CuteAndroid - at 2:55 pm

Categories: Android, Android developer   Tags: , , ,