Android Open Source - SendLog Send Log Activity






From Project

Back to project page SendLog.

License

The source code is released under:

Apache License

If you think the Android project SendLog listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.l6n.sendlog.userapp;
/* w w w  . java2s.c  om*/
import android.util.Log;

import org.l6n.sendlog.library.SendLogActivityBase;

/**
 * An example implementation of SendLogActivity.
 */
public class SendLogActivity extends SendLogActivityBase {

    /**
     * Write a log message otherwise the log will be empty.
     * This is just for demonstration purposes. Of course you wouldn't really do this.
     */
    @Override
    protected void onResume() {
        Log.d("SendLogActivity", "Something that will appear in the logs");
        super.onResume();
    }

    /**
     * This is the only method you have to override.
     * There others that you may optionally want to override.
     */
    @Override
    protected String getDestinationAddress() {
        return "android@L6n.org";
    }

}




Java Source Code List

org.l6n.sendlog.CreateShortcutActivity.java
org.l6n.sendlog.SendLog.java
org.l6n.sendlog.library.ISendLog.java
org.l6n.sendlog.library.LogcatThread.java
org.l6n.sendlog.library.SendLogActivityBase.java
org.l6n.sendlog.userapp.HelloAndroidActivity.java
org.l6n.sendlog.userapp.SendLogActivity.java