资源简介

实现服务协议和隐私政策效果,用户单击服务协议和隐私政策跳转相关界面

资源截图

代码片段和文件信息

package com.cj.spannablestringbuilderdemo;

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-08-10 10:00  public_demo-master\
     文件        6148  2019-08-10 10:00  public_demo-master\.DS_Store
     文件        1002  2019-08-10 10:00  public_demo-master\.gitignore
     文件       11357  2019-08-10 10:00  public_demo-master\LICENSE
     文件          43  2019-08-10 10:00  public_demo-master\README.md
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\
     文件         203  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\.gitignore
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\.idea\
     文件         135  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\.idea\encodings.xml
     文件         580  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\.idea\gradle.xml
     文件         515  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\.idea\misc.xml
     文件         564  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\.idea\runConfigurations.xml
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\
     文件           7  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\.gitignore
     文件         947  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\build.gradle
     文件         751  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\proguard-rules.pro
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\androidTest\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\androidTest\java\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\androidTest\java\com\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\androidTest\java\com\cj\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\androidTest\java\com\cj\spannablestringbuilderdemo\
     文件         750  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\androidTest\java\com\cj\spannablestringbuilderdemo\ExampleInstrumentedTest.java
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\
     文件         727  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\AndroidManifest.xml
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\java\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\java\com\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\java\com\cj\
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\java\com\cj\spannablestringbuilderdemo\
     文件        2598  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\java\com\cj\spannablestringbuilderdemo\MainActivity.java
     目录           0  2019-08-10 10:00  public_demo-master\SpannableStringBuilderDemo\app\src\main\res\
............此处省略43个文件信息

评论

共有 条评论