• 大小: 17.08M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-20
  • 语言: Java
  • 标签:

资源简介

Android 单对单蓝牙聊天(物联网开发-16_154).zip

资源截图

代码片段和文件信息

package com.mingrisoft.bluetoothdemo;

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.mingrisoft.bluetoothdemo“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         127  2017-01-22 11:32  Project\BluetoothDemo\.gitignore
     文件         867  2017-01-22 11:33  Project\BluetoothDemo\BluetoothDemo.iml
     文件         521  2017-01-22 11:32  Project\BluetoothDemo\build.gradle
     文件         747  2017-01-22 11:32  Project\BluetoothDemo\gradle.properties
     文件        4971  2017-01-22 11:32  Project\BluetoothDemo\gradlew
     文件        2404  2017-01-22 11:32  Project\BluetoothDemo\gradlew.bat
     文件         426  2017-01-22 11:32  Project\BluetoothDemo\local.properties
     文件          16  2017-01-22 11:32  Project\BluetoothDemo\settings.gradle
     文件          37  2017-01-22 11:32  Project\BluetoothDemo\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件      271953  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件     3299439  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件       29666  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      156776  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     文件       60731  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     文件       23160  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-03-18 09:27  Project\BluetoothDemo\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     文件         686  2017-03-18 09:24  Project\BluetoothDemo\.idea\compiler.xml
     文件         626  2017-03-18 09:24  Project\BluetoothDemo\.idea\gradle.xml
     文件        2514  2017-03-18 09:25  Project\BluetoothDemo\.idea\misc.xml
     文件         363  2017-03-18 09:24  Project\BluetoothDemo\.idea\modules.xml
     文件         564  2017-03-18 09:24  Project\BluetoothDemo\.idea\runConfigurations.xml
     文件      163018  2017-03-18 09:27  Project\BluetoothDemo\.idea\workspace.xml
     文件          76  2017-03-18 09:24  Project\BluetoothDemo\.idea\copyright\profiles_settings.xml
     文件         643  2017-03-18 09:24  Project\BluetoothDemo\.idea\libraries\animated_vector_drawable_24_2_1.xml
     文件         759  2017-03-18 09:24  Project\BluetoothDemo\.idea\libraries\appcompat_v7_24_2_1.xml
     文件         625  2017-03-18 09:24  Project\BluetoothDemo\.idea\libraries\espresso_core_2_2_2.xml
     文件         680  2017-03-18 09:24  Project\BluetoothDemo\.idea\libraries\espresso_idling_resource_2_2_2.xml
     文件         698  2017-03-18 09:24  Project\BluetoothDemo\.idea\libraries\exposed_instrumentation_api_publish_0_5.xml
     文件         526  2017-03-18 09:24  Project\BluetoothDemo\.idea\libraries\hamcrest_core_1_3.xml
............此处省略49个文件信息

评论

共有 条评论