资源简介

一个特别简单的闹钟,仅用于课程设计作业。包含本地数据库,定时任务,后台服务。基于Android 9,Java 8,构建工具版本28.0.3,构建插件版本3.2.1,构建版本5.1.1。

资源截图

代码片段和文件信息

package com.example.myapplication;

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.*;

/**
 * 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.example.myapplication“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         187  2019-05-27 15:31  project\.gitignore
     目录           0  2019-06-28 16:07  project\app\
     文件           8  2019-05-27 15:31  project\app\.gitignore
     文件        1334  2019-06-27 22:22  project\app\build.gradle
     目录           0  2019-06-25 19:14  project\app\libs\
     文件       70148  2019-06-12 10:20  project\app\libs\ormlite-android-5.1.jar
     文件      330307  2019-06-12 10:20  project\app\libs\ormlite-core-5.1.jar
     文件         772  2019-05-27 15:31  project\app\proguard-rules.pro
     目录           0  2019-06-25 19:14  project\app\src\
     目录           0  2019-06-25 19:14  project\app\src\androidTest\
     目录           0  2019-06-25 19:14  project\app\src\androidTest\java\
     目录           0  2019-06-25 19:14  project\app\src\androidTest\java\com\
     目录           0  2019-06-25 19:14  project\app\src\androidTest\java\com\example\
     目录           0  2019-06-25 19:14  project\app\src\androidTest\java\com\example\myapplication\
     文件         760  2019-05-27 15:31  project\app\src\androidTest\java\com\example\myapplication\ExampleInstrumentedTest.java
     目录           0  2019-06-25 19:14  project\app\src\main\
     文件        2435  2019-06-16 10:02  project\app\src\main\AndroidManifest.xml
     目录           0  2019-06-16 15:58  project\app\src\main\assets\
     目录           0  2019-06-25 19:14  project\app\src\main\java\
     目录           0  2019-06-25 19:14  project\app\src\main\java\com\
     目录           0  2019-06-25 19:14  project\app\src\main\java\com\example\
     目录           0  2019-06-25 19:14  project\app\src\main\java\com\example\myapplication\
     目录           0  2019-06-25 19:14  project\app\src\main\java\com\example\myapplication\activity\
     文件        4711  2019-06-22 11:27  project\app\src\main\java\com\example\myapplication\activity\AddActivity.java
     文件        1773  2019-06-16 12:13  project\app\src\main\java\com\example\myapplication\activity\AlarmActivity.java
     文件         636  2019-06-24 23:03  project\app\src\main\java\com\example\myapplication\activity\baseActivity.java
     文件        6391  2019-06-16 16:08  project\app\src\main\java\com\example\myapplication\activity\EditActivity.java
     文件        6831  2019-06-24 08:46  project\app\src\main\java\com\example\myapplication\activity\MainActivity.java
     目录           0  2019-06-25 19:14  project\app\src\main\java\com\example\myapplication\adapter\
     文件        1898  2019-06-24 23:04  project\app\src\main\java\com\example\myapplication\adapter\AlarmAdapter.java
     目录           0  2019-06-25 19:14  project\app\src\main\java\com\example\myapplication\collector\
............此处省略67个文件信息

评论

共有 条评论