• 大小: 18.53M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-23
  • 语言: Java
  • 标签:

资源简介

Android 手表消息通知(物联网开发-16_151).zip

资源截图

代码片段和文件信息

package com.mingrisoft.notification;

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(“com.mrkj.androidwear1“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         127  2017-03-10 13:20  Project\Notification\.gitignore
     文件         866  2017-03-10 13:20  Project\Notification\AndroidWear1.iml
     文件         521  2017-03-30 10:34  Project\Notification\build.gradle
     文件         747  2017-03-10 13:20  Project\Notification\gradle.properties
     文件        4971  2017-03-10 13:20  Project\Notification\gradlew
     文件        2404  2017-03-10 13:20  Project\Notification\gradlew.bat
     文件         459  2017-07-26 16:19  Project\Notification\local.properties
     文件         866  2017-07-26 16:20  Project\Notification\Notification.iml
     文件          44  2017-03-10 14:36  Project\Notification\Readme.md
     文件          16  2017-03-10 13:20  Project\Notification\settings.gradle
     文件          31  2017-03-10 13:20  Project\Notification\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件      362572  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件     3049285  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件       27326  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      107697  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     文件       36680  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     文件       22668  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-07-26 16:20  Project\Notification\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     文件         686  2017-07-26 16:19  Project\Notification\.idea\compiler.xml
     文件         699  2017-07-26 16:19  Project\Notification\.idea\gradle.xml
     文件         882  2017-07-26 16:20  Project\Notification\.idea\misc.xml
     文件         361  2017-07-26 16:20  Project\Notification\.idea\modules.xml
     文件         564  2017-07-26 16:19  Project\Notification\.idea\runConfigurations.xml
     文件      133929  2017-07-26 16:21  Project\Notification\.idea\workspace.xml
     文件          76  2017-07-26 16:19  Project\Notification\.idea\copyright\profiles_settings.xml
     文件         241  2017-07-26 16:20  Project\Notification\.idea\libraries\android_android_24.xml
     文件         645  2017-07-26 16:20  Project\Notification\.idea\libraries\animated_vector_drawable_24_2_1.xml
     文件         585  2017-07-26 16:20  Project\Notification\.idea\libraries\appcompat_v7_24_2_1.xml
     文件         627  2017-07-26 16:20  Project\Notification\.idea\libraries\espresso_core_2_2_2.xml
............此处省略64个文件信息

评论

共有 条评论