资源简介

Android Studio的项目,实现拍照的相片,或者使用相册选择相片,使用自定义的裁剪方法

资源截图

代码片段和文件信息

package ltd.cameracropimage;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“ltd.cameracropimage“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-11-04 16:35  CameraCropImage\
     文件         127  2017-11-04 16:15  CameraCropImage\.gitignore
     目录           0  2017-11-04 16:15  CameraCropImage\.gradle\
     目录           0  2017-11-04 16:16  CameraCropImage\.gradle\3.3\
     目录           0  2017-11-04 16:15  CameraCropImage\.gradle\3.3\taskArtifacts\
     文件      244719  2017-11-04 16:33  CameraCropImage\.gradle\3.3\taskArtifacts\fileHashes.bin
     文件     1893108  2017-11-04 16:33  CameraCropImage\.gradle\3.3\taskArtifacts\fileSnapshots.bin
     文件      180477  2017-11-04 16:33  CameraCropImage\.gradle\3.3\taskArtifacts\taskArtifacts.bin
     文件          17  2017-11-04 16:33  CameraCropImage\.gradle\3.3\taskArtifacts\taskArtifacts.lock
     目录           0  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\
     目录           0  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\
     目录           0  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件       36153  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件       18522  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2017-11-04 16:28  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\
     目录           0  2017-11-04 16:28  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\localClassSetAnalysis\
     文件       36153  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2017-11-04 16:28  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\localJarClasspathSnapshot\
     文件       18522  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_CropImage_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2017-11-04 16:16  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\
     目录           0  2017-11-04 16:16  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件       32011  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2017-11-04 16:16  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件       21792  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-11-04 16:32  CameraCropImage\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
............此处省略151个文件信息

评论

共有 条评论