Package 

Class InfoCenterExport


  • 
    public class InfoCenterExport
    
                        

    Util class containing constants and methods related to Information Center.

    • Method Detail

      • exportData

         static void exportData(Context context, String filename, String groupName, Array<byte> data)

        Store data in external storage. Creates a file that contains the given data that and isstored in a directory with a specific name.

        Parameters:
        context - the calling context
        filename - the name of the file
        groupName - Name of the directory that contains the file.
        data - Data that is stored in the file.
      • exportData

         static void exportData(Context context, String filename, String groupName, Array<byte> data, String extension)

        Store data in external storage. Creates a file with given filename and file extension that contains the givendata that and is stored in a directory with a specific name.

        Parameters:
        context - the calling context
        filename - the name of the file
        groupName - Name of the directory that contains the file.
        data - Data that is stored in the file.
        extension - File extension of the file that is to be stored