Speedify SDK for Android
15.2.0
|
Helper class for generating a zip file of all logs, and sending it via a Share dialog.
Classes | |
interface | ILogCompleteCallback |
If the Activity you pass to shareLogs implements this, then this callback will be called after logs are created. More... | |
class | LaunchShareSheet |
Launches the share sheet with the log file. More... | |
interface | LogAction |
Interface for a log action to be taken after log generation. More... | |
class | SubmitToDirectory |
Submits longs to the directory server using the sendLogReport. More... | |
Static Public Member Functions | |
static void | cleanupOldJavalog (Context c) |
Removes old javalogs from the system. More... | |
static void | generateLogs (Context context) |
Create a log zip without a share sheet, using the default 'Speedify.zip' name. More... | |
static void | generateLogs (Context context, ILogCompleteCallback callback) |
Create a log zip without a share sheet, using the default 'Speedify.zip' name. More... | |
static void | generateLogs (Context context, final String fileName) |
Create a log zip without a share sheet. More... | |
static void | generateLogs (Context context, final ILogCompleteCallback callback, final String fileName) |
Create a log zip without a share sheet. More... | |
static void | shareLogs (Activity activity) |
Create a log zip using default messaging. More... | |
static void | shareLogs (Activity activity, final ILogCompleteCallback callback) |
Create a log zip using default messaging. More... | |
static void | shareLogs (final Activity activity, final String fileName, final String email, final String subject, final String body) |
Create a log zip using custom messaging. More... | |
static void | shareLogs (final Activity activity, final ILogCompleteCallback callback, final String fileName, final String email, final String subject, final String body) |
Create a log zip using custom messaging. More... | |
static void | create (Context context, final List< LogAction > actions) |
Create a log zip with a list of actions to take after log generation. More... | |
static void | create (Context context, final ILogCompleteCallback callback, final List< LogAction > actions) |
Create a log zip with a list of actions to take after log generation. More... | |
static void | create (Context context, final ILogCompleteCallback callback, final String fileName, final List< LogAction > actions) |
Create a log zip with a list of actions to take after log generation. More... | |
|
static |
Removes old javalogs from the system.
Automatically called on startup and during log creation.
c | context |
|
static |
Create a log zip with a list of actions to take after log generation.
context | context used for OS acess. Implement ILogCompleteCallback to be notified on completion. |
actions | list of actions to take after log generation |
|
static |
Create a log zip with a list of actions to take after log generation.
context | context used for OS acess. |
callback | object to be notified on completion |
actions | list of actions to take after log generation |
|
static |
Create a log zip with a list of actions to take after log generation.
context | context used for OS acess. |
callback | object to be notified on completion |
fileName | the name of the zip file to create. If required, you must request write permission to this path prior to calling. |
actions | list of actions to take after log generation |
|
static |
Create a log zip without a share sheet, using the default 'Speedify.zip' name.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
context | context used for OS acess. Implement ILogCompleteCallback to be notified on completion. |
|
static |
Create a log zip without a share sheet, using the default 'Speedify.zip' name.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
context | context used for OS acess. |
callback | object to be notified on completion |
|
static |
Create a log zip without a share sheet.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
context | context used for OS acess. Implement ILogCompleteCallback to be notified on completion. |
fileName | the name of the zip file to create. As of 11.0, this may be an absolute path. If required, you must request write permission to this path prior to calling. |
|
static |
Create a log zip without a share sheet.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
context | context used for OS acess. |
callback | object to be notified on completion |
fileName | the name of the zip file to create. As of 11.0, this may be an absolute path. If required, you must request write permission to this path prior to calling. |
|
static |
Create a log zip using default messaging.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
activity | activity used to launch the share dialog. Implement ILogCompleteCallback to be notified on completion. |
|
static |
Create a log zip using default messaging.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
activity | activity used to launch the share dialog. |
callback | object to be notified on completion |
|
static |
Create a log zip using custom messaging.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
activity | activity used to launch the share dialog. Implement ILogCompleteCallback to be notified on completion. |
fileName | the name of the zip file to create. As of 11.0, this may be an absolute path. If required, you must request write permission to this path prior to calling. |
email address to send to (for email sharing) | |
subject | subject string (for email sharing) |
body | main message used in email or instant message bodies |
|
static |
Create a log zip using custom messaging.
To delete this zip, either use Java's File class, or call eraseAllLogFiles to erase this and all log files.
activity | activity used to launch the share dialog. |
callback | object to be notified on completion |
fileName | the name of the zip file to create. As of 11.0, this may be an absolute path. If required, you must request write permission to this path prior to calling. |
email address to send to (for email sharing) | |
subject | subject string (for email sharing) |
body | main message used in email or instant message bodies |