SendLog
SendLog is a diagnostic tool. It will send the log file and a process list from your phone to an email.
This is useful to send to the developer of an application in case it crashes or otherwise misbehaves.
You can choose any of the formats that logcat supports. The default and recommended format is "time".
It will add the output of "top" to the email. This shows the list of processes and the amount of CPU they are using.
You can create a home shortcut where you can specify the destination email, format and email client.
Developers
If SendLog is installed you can invoke it from your application using the following code:
Intent intent = getPackageManager().getLaunchIntentForPackage("org.l6n.sendlog");
intent.setType("5|com.google.android.gm.ComposeActivityGmail|android@l6n.org");
startActivity(intent);
All the parameters are optional, but they must be in the order shown, i.e. you can remove parameters from the end.
The first parameter is the format from this zero-based list:
brief, process, tag, thread, raw, time, threadtime, long.
You can also add additional parameters to logcat by adding a line like this:
intent.putExtra("filter", "MyApp:D *:I");
This is probably most useful for adding filters, as described in
the
logcat reference.
History
Limit the size of the log data for Android versions 2.1 and higher. This option is not available for earlier Android versions. This ensures that the data fits in the email text. The data is limited to 300 lines - that's a bit of an arbitrary limit. Also added a terminator to the email.
Show a progress dialog while it's working.
Add the possibility to specify filters in extras when invoked from another application.
Make the activity translucent.
Make compatible with Android 1.1 (previous versions unnecessarily required 1.5).
Add format and email client to shortcut.
Enable it to create shortcuts where the destination email can be specified.
Add SendLog version to email.
Add "top" output and Android version.
Initial version.
Please send all comments and suggestions to android@l6n.org.