• 大小: 352KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-16
  • 语言: 其他
  • 标签: 计步器  

资源简介

基于安卓开发的仿小米计步器项目,可以精确地计步,并可以记录运动轨迹,查看历史记录等功能。

资源截图

代码片段和文件信息

package com.jianglei.autolocatehorizontalview;

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\
     文件        1536  2017-12-22 02:03  AutoLocateHorizontalView-master\.gitignore
     文件        2749  2017-12-22 02:03  AutoLocateHorizontalView-master\README.md
     文件          29  2017-12-22 02:03  AutoLocateHorizontalView-master\_config.yml
     文件         498  2017-12-22 02:03  AutoLocateHorizontalView-master\build.gradle
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\gif\
     文件      265167  2017-12-22 02:03  AutoLocateHorizontalView-master\gif\demo.gif
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\gradle\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\gradle\wrapper\
     文件       53636  2017-12-22 02:03  AutoLocateHorizontalView-master\gradle\wrapper\gradle-wrapper.jar
     文件         233  2017-12-22 02:03  AutoLocateHorizontalView-master\gradle\wrapper\gradle-wrapper.properties
     文件        4971  2017-12-22 02:03  AutoLocateHorizontalView-master\gradlew
     文件        2314  2017-12-22 02:03  AutoLocateHorizontalView-master\gradlew.bat
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\
     文件           7  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\.gitignore
     文件         914  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\build.gradle
     文件         657  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\proguard-rules.pro
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\androidTest\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\androidTest\java\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\androidTest\java\com\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\androidTest\java\com\jianglei\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\androidTest\java\com\jianglei\autolocatehorizontalview\
     文件         778  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\androidTest\java\com\jianglei\autolocatehorizontalview\ExampleInstrumentedTest.java
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\
     文件         676  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\AndroidManifest.xml
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\java\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\java\com\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\java\com\jianglei\
     目录           0  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\java\com\jianglei\autolocatehorizontalview\
     文件        1750  2017-12-22 02:03  AutoLocateHorizontalView-master\sample\src\main\java\com\jianglei\autolocatehorizontalview\BarActivity.java
............此处省略57个文件信息

评论

共有 条评论