资源简介

现代手机更新换代如此之快,以至于家中往往有闲置不用的手机。本APP用一部闲置手机作为监控相机,在另一部手机上实现远程监控。

资源截图

代码片段和文件信息

package com.wxson.homemonitor.commlib;

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

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

import static org.junit.Assert.*;

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

        assertEquals(“com.wxson.homemonitor.commlib.test“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         187  2019-01-14 21:49  HomeMonitor\.gitignore
     文件         743  2019-05-17 16:26  HomeMonitor\build.gradle
     目录           0  2019-05-30 15:13  HomeMonitor\camera\
     文件           8  2019-01-15 21:29  HomeMonitor\camera\.gitignore
     文件        1382  2019-05-04 10:38  HomeMonitor\camera\build.gradle
     目录           0  2019-01-15 21:28  HomeMonitor\camera\libs\
     文件         772  2019-01-15 21:29  HomeMonitor\camera\proguard-rules.pro
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\androidTest\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\androidTest\java\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\androidTest\java\com\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\androidTest\java\com\wxson\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\androidTest\java\com\wxson\homemonitor\
     目录           0  2019-05-17 22:17  HomeMonitor\camera\src\androidTest\java\com\wxson\homemonitor\camera\
     文件         675  2019-05-17 22:17  HomeMonitor\camera\src\androidTest\java\com\wxson\homemonitor\camera\ExampleInstrumentedTest.kt
     目录           0  2019-05-19 16:45  HomeMonitor\camera\src\main\
     文件        1785  2019-05-05 11:16  HomeMonitor\camera\src\main\AndroidManifest.xml
     文件        9514  2019-05-19 17:03  HomeMonitor\camera\src\main\ic_launcher-web.png
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\main\java\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\main\java\com\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\main\java\com\wxson\
     目录           0  2019-01-15 21:29  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\
     目录           0  2019-05-27 10:32  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\
     文件        2597  2019-05-12 16:27  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\AppCompatPreferenceActivity.kt
     目录           0  2019-06-15 17:08  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\connect\
     文件        7641  2019-06-15 17:08  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\connect\CameraIntentService.kt
     文件         250  2019-05-16 15:27  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\connect\IStringTransferListener.kt
     文件        6276  2019-05-12 21:50  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\MainActivity.kt
     文件       23197  2019-05-27 10:32  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\MainViewModel.kt
     目录           0  2019-05-29 10:00  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\mediacodec\
     文件         308  2019-04-20 16:01  HomeMonitor\camera\src\main\java\com\wxson\homemonitor\camera\mediacodec\IByteBufferListener.kt
............此处省略201个文件信息

评论

共有 条评论