• 大小: 142KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-13
  • 语言: Java
  • 标签: Android  AP  热点模式  

资源简介

基于android5.0 开发,项目工程为 android studio 工程,功能为打开热点并扫秒热点连接的信息 IP MAC 等

资源截图

代码片段和文件信息

package net.incivility.wifipiont;

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(“net.incivility.wifipiont“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-09-16 16:16  WifiP2PSample-master\
     文件         760  2017-09-16 16:16  WifiP2PSample-master\.gitignore
     目录           0  2017-09-16 16:16  WifiP2PSample-master\.idea\
     文件         686  2017-09-16 16:16  WifiP2PSample-master\.idea\compiler.xml
     目录           0  2017-09-16 16:16  WifiP2PSample-master\.idea\copyright\
     文件          74  2017-09-16 16:16  WifiP2PSample-master\.idea\copyright\profiles_settings.xml
     文件         159  2017-09-16 16:16  WifiP2PSample-master\.idea\encodings.xml
     文件        2644  2017-09-16 16:16  WifiP2PSample-master\.idea\misc.xml
     文件         355  2017-09-16 16:16  WifiP2PSample-master\.idea\modules.xml
     文件         564  2017-09-16 16:16  WifiP2PSample-master\.idea\runConfigurations.xml
     文件       11357  2017-09-16 16:16  WifiP2PSample-master\LICENSE
     文件         173  2017-09-16 16:16  WifiP2PSample-master\README.md
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\
     文件           7  2017-09-16 16:16  WifiP2PSample-master\app\.gitignore
     文件        1316  2017-09-16 16:16  WifiP2PSample-master\app\build.gradle
     文件         936  2017-09-16 16:16  WifiP2PSample-master\app\proguard-rules.pro
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\androidTest\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\androidTest\java\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\androidTest\java\net\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\androidTest\java\net\incivility\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\androidTest\java\net\incivility\wifipiont\
     文件         752  2017-09-16 16:16  WifiP2PSample-master\app\src\androidTest\java\net\incivility\wifipiont\ExampleInstrumentedTest.java
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\main\
     文件        1437  2017-09-16 16:16  WifiP2PSample-master\app\src\main\AndroidManifest.xml
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\main\java\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\main\java\net\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\main\java\net\incivility\
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\main\java\net\incivility\wifipiont\
     文件       20826  2017-09-16 16:16  WifiP2PSample-master\app\src\main\java\net\incivility\wifipiont\MainActivity.java
     目录           0  2017-09-16 16:16  WifiP2PSample-master\app\src\main\res\
............此处省略37个文件信息

评论

共有 条评论