Class DebuggingCtrl


  • public class DebuggingCtrl
    extends java.lang.Object
    The type Debugging ctrl.
    • Constructor Detail

      • DebuggingCtrl

        public DebuggingCtrl​(android.content.Context context)
        Instantiates a new Debugging ctrl.
        Parameters:
        context - the context
    • Method Detail

      • saveLogcatFile

        public android.os.Bundle saveLogcatFile​(java.lang.String filePath,
                                                long seconds)
        Save logcat file bundle.
        Parameters:
        filePath - the file path (String)
        seconds - the seconds (String)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");
        int pid = bundle.getInt("Pid");
      • stopSaveLogcat

        public android.os.Bundle stopSaveLogcat​(int pid)
        Stop save logcat bundle.
        Parameters:
        pid - ,task pid number (int)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");