net.hockeyapp.android.objects.CrashMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HockeySDK Show documentation
Show all versions of HockeySDK Show documentation
HockeySDK-Android implements support for using HockeyApp in your Android application. The following features are currently supported:
Collect crash reports:If your app crashes, a crash log is written to the device's storage. If the user starts the app again, they will be asked asked to submit the crash report to HockeyApp. This works for both beta and live apps, i.e. those submitted to Google Play or other app stores. Crash logs contain viable information for you to help resolve the issue. Furthermore, you as a developer can add additional information to the report as well.
Update Alpha/Beta apps: The app will check with HockeyApp if a new version for your alpha/beta build is available. If yes, it will show a dialog to users and let them see the release notes, the version history and start the installation process right away. You can even force the installation of certain updates.
User Metrics: Understand user behavior to improve your app. Track usage through daily and monthly active users. Monitor crash impacted users. Measure customer engagement through session count. Add custom tracking calls to learn which features your users are actually using. This feature requires a minimum API level of 14 (Android 4.x Ice Cream Sandwich).
Feedback: Besides crash reports, collecting feedback from your users from within your app is a great option to help with improving your app. You act on and answer feedback directly from the HockeyApp backend.
Authenticate: Identify and authenticate users against your registered testers with the HockeyApp backend.
package net.hockeyapp.android.objects;
/**
* This class provides properties that can be attached to a crash report via a custom alert view flow
* @author Andreas Wörner
*/
public class CrashMetaData {
private String userDescription;
private String userEmail;
private String userID;
public String getUserDescription() {
return userDescription;
}
public void setUserDescription(final String userDescription) {
this.userDescription = userDescription;
}
public String getUserEmail() {
return userEmail;
}
public void setUserEmail(final String userEmail) {
this.userEmail = userEmail;
}
public String getUserID() {
return userID;
}
public void setUserID(final String userID) {
this.userID = userID;
}
@Override
public String toString() {
return "\n" + CrashMetaData.class.getSimpleName()
+ "\n" + "userDescription " + userDescription
+ "\n" + "userEmail " + userEmail
+ "\n" + "userID " + userID
;
}
}