资源简介

这是一个安卓项目,一个简易的安卓应用,里面有包括单词查询,天气查询,机器人聊天等等的简易小功能

资源截图

代码片段和文件信息

package cn.lger.encyclopedia;

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(“cn.lger.encyclopedia“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-01-15 09:48  Encyclopedia-master\
     文件         118  2018-01-15 09:48  Encyclopedia-master\.gitignore
     目录           0  2018-01-15 09:48  Encyclopedia-master\.idea\
     目录           0  2018-01-15 09:48  Encyclopedia-master\.idea\dictionaries\
     文件          82  2018-01-15 09:48  Encyclopedia-master\.idea\dictionaries\Pro.xml
     文件         200  2018-01-15 09:48  Encyclopedia-master\.idea\encodings.xml
     文件         626  2018-01-15 09:48  Encyclopedia-master\.idea\gradle.xml
     目录           0  2018-01-15 09:48  Encyclopedia-master\.idea\inspectionProfiles\
     文件         628  2018-01-15 09:48  Encyclopedia-master\.idea\inspectionProfiles\Project_Default.xml
     文件         195  2018-01-15 09:48  Encyclopedia-master\.idea\junitgenerator-prj-settings.xml
     文件         232  2018-01-15 09:48  Encyclopedia-master\.idea\kotlinc.xml
     文件        3447  2018-01-15 09:48  Encyclopedia-master\.idea\misc.xml
     文件         361  2018-01-15 09:48  Encyclopedia-master\.idea\modules.xml
     文件        8792  2018-01-15 09:48  Encyclopedia-master\.idea\uiDesigner.xml
     文件         180  2018-01-15 09:48  Encyclopedia-master\.idea\vcs.xml
     文件         343  2018-01-15 09:48  Encyclopedia-master\Encyclopedia.eml
     文件        8557  2018-01-15 09:48  Encyclopedia-master\Encyclopedia.userlibraries
     文件         425  2018-01-15 09:48  Encyclopedia-master\README.md
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\
     文件           7  2018-01-15 09:48  Encyclopedia-master\app\.gitignore
     文件        8693  2018-01-15 09:48  Encyclopedia-master\app\app.eml
     文件        1182  2018-01-15 09:48  Encyclopedia-master\app\build.gradle
     文件         659  2018-01-15 09:48  Encyclopedia-master\app\proguard-rules.pro
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\androidTest\
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\androidTest\java\
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\androidTest\java\cn\
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\androidTest\java\cn\lger\
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\androidTest\java\cn\lger\encyclopedia\
     文件         744  2018-01-15 09:48  Encyclopedia-master\app\src\androidTest\java\cn\lger\encyclopedia\ExampleInstrumentedTest.java
     目录           0  2018-01-15 09:48  Encyclopedia-master\app\src\main\
............此处省略90个文件信息

评论

共有 条评论