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

资源简介

一款的Android原生跑步运动应用,除了界面丑点,步数,记时,地图,轨迹,存储数据库信息等功能都没问题

资源截图

代码片段和文件信息

package com.example.runstart;

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() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.example.runstart“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-30 05:21  RunStart2-master\
     文件        1333  2019-07-30 05:21  RunStart2-master\README.md
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\
     文件         118  2019-07-30 05:21  RunStart2-master\RunStart2\.gitignore
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\caches\
     文件         545  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\caches\build_file_checksums.ser
     文件       86786  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\caches\gradle_models.ser
     文件         686  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\compiler.xml
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\copyright\
     文件          74  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\copyright\profiles_settings.xml
     文件         135  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\encodings.xml
     文件         626  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\gradle.xml
     文件        1085  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\misc.xml
     文件         355  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\modules.xml
     文件         564  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\runConfigurations.xml
     文件         183  2019-07-30 05:21  RunStart2-master\RunStart2\.idea\vcs.xml
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\
     文件           7  2019-07-30 05:21  RunStart2-master\RunStart2\app\.gitignore
     文件        1105  2019-07-30 05:21  RunStart2-master\RunStart2\app\build.gradle
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\libs\
     文件     2630691  2019-07-30 05:21  RunStart2-master\RunStart2\app\libs\BaiduLBS_Android.jar
     文件         751  2019-07-30 05:21  RunStart2-master\RunStart2\app\proguard-rules.pro
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\release\
     文件    13107554  2019-07-30 05:21  RunStart2-master\RunStart2\app\release\app-release.apk
     文件         192  2019-07-30 05:21  RunStart2-master\RunStart2\app\release\output.json
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\src\
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\src\androidTest\
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\src\androidTest\java\
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\src\androidTest\java\com\
     目录           0  2019-07-30 05:21  RunStart2-master\RunStart2\app\src\androidTest\java\com\example\
............此处省略96个文件信息

评论

共有 条评论