• 大小: 85.33M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2022-02-04
  • 语言: 其他
  • 标签: 其他  

资源简介

small-video-crack-安卓.zip

资源截图

代码片段和文件信息

package com.yunbao.phonelive;

import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Environment;
import android.text.TextUtils;

import com.alibaba.fastjson.JSON;
import com.yunbao.phonelive.bean.ConfigBean;
import com.yunbao.phonelive.bean.UserBean;
import com.yunbao.phonelive.jpush.JMessageUtil;
import com.yunbao.phonelive.jpush.JPushUtil;
import com.yunbao.phonelive.utils.L;
import com.yunbao.phonelive.utils.SharedPreferencesUtil;

/**
 * Created by cxf on 2017/8/4.
 */

public class AppConfig {



    private static final String TAG = “AppConfig“;

    //域名
    public static final String HOST = “http://dsptest.yunbaozhibo.com“;

    //sd卡路径
    //private static final String SD_PATH = Environment.getExternalStorageDirectory().getAbsolutePath();
    public static boolean  isFirstLauch=true;

    public static final String FILE_PROVIDER = “com.yunbao.phonelive.fileprovider“;

    public static final String DCMI_PATH = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath();
    //保存视频的时候,在sd卡存储短视频的路径DCIM下
    public static final String VIDEO_PATH = DCMI_PATH + “/yunbao/video/“;
    //下载贴纸的时候保存的路径
    public static final String VIDEO_TIE_ZHI_PATH = DCMI_PATH + “/yunbao/tieZhi/“;
    //下载音乐的时候保存的路径
    public static final String VIDEO_MUSIC_PATH = DCMI_PATH + “/yunbao/music/“;
    //拍照时图片保存路径
    public static final String CAMERA_IMAGE_PATH = DCMI_PATH + “/yunbao/camera/“;

    //萌颜鉴权码
    public static final String BEAUTY_KEY = “f9b7b0e82f1a4160b29247c98c79d7b1“;

    private static AppConfig sInstance;

    private AppConfig() {

    }

    public static AppConfig getInstance() {
        if (sInstance == null) {
            synchronized (AppConfig.class) {
                if (sInstance == null) {
                    sInstance = new AppConfig();
                }
            }
        }
        return sInstance;
    }

    private String mUid = Constants.NOT_LOGIN_UID;//未登录的uid
    private String mToken;
    private ConfigBean mConfig;
    private double mLng;
    private double mLat;
    private String mProvince;//省
    private String mCity;//市
    private String mDistrict;//区
    private UserBean mUserBean;
    private String mVersion;
    private boolean mLoginIM;//IM是否登录了
    private String mJPushAppKey;//极光推送的AppKey
    private String mTxLocationKey;//腾讯定位,地图的AppKey

    public String getUid() {
        if (TextUtils.isEmpty(mUid)) {
            String[] uidAndToken = SharedPreferencesUtil.getInstance().readUidAndToken();
            if (uidAndToken != null && uidAndToken.length > 1) {
                mUid = uidAndToken[0];
                mToken = uidAndToken[1];
            } else {
                mUid = Constants.NOT_LOGIN_UID;
            }
        }
        return mUid;
    }

    public String getToken() {
        return mToken;
    }

    public ConfigBean getConfig() {
        return mConfig;
    }

    public

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-10-23 15:15  small-video-crack\
     目录           0  2018-10-08 14:30  small-video-crack\.gradle\
     目录           0  2018-10-08 14:49  small-video-crack\.gradle\2.14.1\
     目录           0  2018-10-08 14:30  small-video-crack\.gradle\2.14.1\taskArtifacts\
     文件          30  2018-10-08 14:30  small-video-crack\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2018-10-23 15:07  small-video-crack\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件     4385724  2018-10-23 15:07  small-video-crack\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件    53751412  2018-10-23 15:07  small-video-crack\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件      210786  2018-10-23 15:07  small-video-crack\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      781824  2018-10-23 15:07  small-video-crack\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     目录           0  2018-10-12 10:43  small-video-crack\.gradle\2.14.1\tasks\
     目录           0  2018-10-08 14:55  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\
     目录           0  2018-10-08 14:55  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件     8040885  2018-10-23 15:01  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2018-10-23 15:01  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2018-10-08 14:55  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件      104173  2018-10-23 15:01  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2018-10-23 15:01  small-video-crack\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2018-10-12 10:43  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\
     目录           0  2018-10-12 10:43  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localClassSetAnalysis\
     文件     2039702  2018-10-23 08:37  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2018-10-23 08:37  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2018-10-12 10:43  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localJarClasspathSnapshot\
     文件       64472  2018-10-23 08:37  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2018-10-23 08:37  small-video-crack\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2018-10-11 13:47  small-video-crack\.gradle\2.14.1\tasks\_sharedsdk_compileDebugJavaWithJavac\
     目录           0  2018-10-11 13:47  small-video-crack\.gradle\2.14.1\tasks\_sharedsdk_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件       42824  2018-10-11 13:51  small-video-crack\.gradle\2.14.1\tasks\_sharedsdk_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2018-10-11 13:51  small-video-crack\.gradle\2.14.1\tasks\_sharedsdk_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2018-10-11 13:47  small-video-crack\.gradle\2.14.1\tasks\_sharedsdk_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件       21831  2018-10-11 13:51  small-video-crack\.gradle\2.14.1\tasks\_sharedsdk_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
............此处省略1248个文件信息

评论

共有 条评论