资源简介

Java语言调用示例代码,aar库,要求Android API21及以上(库认证功能要求Android API26及以上),AndroidStudio3工程。 版本号:PPLicAndroidClientLIB-RELEASE-v1.0.2 PP是一家独立的第三方软件授权与计费平台,为高级软件开发者提供专业的软件版权保护、应用授权管理和软件计费功能。

资源截图

代码片段和文件信息

package com.pplic.android.sample.client;

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.pplic.android.sample.client“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-04 21:29  PPLicAndroidClientProject\
     文件         216  2019-03-20 15:13  PPLicAndroidClientProject\.gitignore
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\
     目录           0  2019-03-20 15:35  PPLicAndroidClientProject\.gradle\4.10.1\
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\4.10.1\fileChanges\
     文件           1  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\fileChanges\last-build.bin
     目录           0  2019-03-20 15:35  PPLicAndroidClientProject\.gradle\4.10.1\fileContent\
     文件          17  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\fileContent\fileContent.lock
     目录           0  2019-03-20 15:35  PPLicAndroidClientProject\.gradle\4.10.1\fileHashes\
     文件      533641  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\fileHashes\fileHashes.bin
     文件          17  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\fileHashes\fileHashes.lock
     文件       20673  2019-04-03 21:43  PPLicAndroidClientProject\.gradle\4.10.1\fileHashes\resourceHashesCache.bin
     文件           0  2019-04-04 22:08  PPLicAndroidClientProject\.gradle\4.10.1\gc.properties
     目录           0  2019-03-20 15:39  PPLicAndroidClientProject\.gradle\4.10.1\javaCompile\
     文件      356732  2019-04-04 21:24  PPLicAndroidClientProject\.gradle\4.10.1\javaCompile\classAnalysis.bin
     文件      685982  2019-04-03 21:43  PPLicAndroidClientProject\.gradle\4.10.1\javaCompile\jarAnalysis.bin
     文件          17  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\javaCompile\javaCompile.lock
     文件       60001  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\javaCompile\taskHistory.bin
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\4.10.1\taskHistory\
     文件     7244254  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\taskHistory\taskHistory.bin
     文件          17  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\4.10.1\taskHistory\taskHistory.lock
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\4.10.1\vcsmetadata-1\
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\buildOutputCleanup\
     文件          17  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\buildOutputCleanup\buildOutputCleanup.lock
     文件          54  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\buildOutputCleanup\cache.properties
     文件       56885  2019-04-04 22:09  PPLicAndroidClientProject\.gradle\buildOutputCleanup\outputFiles.bin
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.gradle\vcs-1\
     文件           0  2019-04-04 22:08  PPLicAndroidClientProject\.gradle\vcs-1\gc.properties
     目录           0  2019-04-04 22:10  PPLicAndroidClientProject\.idea\
     目录           0  2019-03-20 15:13  PPLicAndroidClientProject\.idea\caches\
     文件         698  2019-04-03 21:45  PPLicAndroidClientProject\.idea\caches\build_file_checksums.ser
............此处省略134个文件信息

评论

共有 条评论