KitStorageUtils

public class KitStorageUtils

Created by Android Studio. User: lvhongzhen Date: 2019-11-28 Time: 11:43

Constructors

Link copied to clipboard
public void KitStorageUtils()

Types

Link copied to clipboard
public class MediaType

Functions

Link copied to clipboard
public static void copy(FileInputStream ist, FileOutputStream ost)
Link copied to clipboard
public Uri getContentUri(int type, String id)
Link copied to clipboard
public InputStream getFileInputStreamWithUri(Context pContext, Uri pUri)
Link copied to clipboard
public static String getFileSavePath(Context context)
Link copied to clipboard
public static String getImageSavePath(Context context)
Link copied to clipboard
public static String getImgMimeType(File imgFile)
Link copied to clipboard
public static String getSavePath(Context context, String type, int res)
Link copied to clipboard
public static String getVideoSavePath(Context context)
Link copied to clipboard
public static Uri insertImageIntoMediaStore(Context context, String fileName, String mimeType)
Link copied to clipboard
public static Uri insertVideoIntoMediaStore(Context context, String fileName)
Link copied to clipboard
public static boolean isBuildAndTargetForQ(Context context)
Link copied to clipboard
public static boolean isScopedStorageMode(Context context)
Link copied to clipboard
public static void read(ParcelFileDescriptor parcelFileDescriptor, File dst)
Link copied to clipboard
public static boolean saveMediaToPublicDir(Context context, File file, String type)
public static boolean saveMediaToPublicDir(Context context, File file, String outputFileName, String type)
Link copied to clipboard
public static void updatePhotoMedia(File file, Context context)
Link copied to clipboard
public static void writeToPublicDir(File pFile, ParcelFileDescriptor pParcelFileDescriptor)