Skip to content

Instantly share code, notes, and snippets.

v-JohnZhang

Block or report user

Report or block v-JohnZhang

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@v-JohnZhang
v-JohnZhang / HockeySender.java
Created May 6, 2016
Customize report sender on Hockeyapp dashboard
View HockeySender.java
package com.example.v_zhjoh.androidarcatest;
import android.content.Context;
import android.util.Log;
import org.acra.ReportField;
import org.acra.collector.CrashReportData;
import org.acra.sender.ReportSender;
import org.acra.sender.ReportSenderException;
import org.apache.http.NameValuePair;
@v-JohnZhang
v-JohnZhang / HockeySenderFactory.java
Created May 6, 2016
HockeySenderFactory return HockeySender
View HockeySenderFactory.java
package com.example.v_zhjoh.androidarcatest;
import android.content.Context;
import android.support.annotation.NonNull;
import org.acra.config.ACRAConfiguration;
import org.acra.sender.ReportSender;
import org.acra.sender.ReportSenderFactory;
/**
View MyApplication.java
package com.example.v_zhjoh.androidarcatest;
import android.app.Application;
import android.content.Context;
import android.util.Log;
import org.acra.ACRA;
import org.acra.annotation.ReportsCrashes;
import org.acra.config.ACRAConfiguration;
import org.acra.config.ACRAConfigurationException;
You can’t perform that action at this time.