• 大小: 2.94MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-12
  • 语言: 其他
  • 标签: 计步器  

资源简介

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

资源截图

代码片段和文件信息

package com.hzp.pedometer;

import android.app.Application;
import android.content.Intent;

/**
 * @author 何志鹏 on 2016/1/16.
 * @email hoholiday@hotmail.com
 */
public class PedometerApplication extends Application{

    @Override
    public void onCreate() {
        super.onCreate();

        //开启服务
        startService(new Intent(getApplicationContext() com.hzp.pedometer.service.CoreService.class));
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-06-04 15:01  Pedometer-master\
     文件         341  2016-06-04 15:01  Pedometer-master\.gitignore
     目录           0  2016-06-04 15:01  Pedometer-master\.idea\
     文件           9  2016-06-04 15:01  Pedometer-master\.idea\.name
     文件         686  2016-06-04 15:01  Pedometer-master\.idea\compiler.xml
     目录           0  2016-06-04 15:01  Pedometer-master\.idea\copyright\
     文件          74  2016-06-04 15:01  Pedometer-master\.idea\copyright\profiles_settings.xml
     文件         621  2016-06-04 15:01  Pedometer-master\.idea\encodings.xml
     文件         701  2016-06-04 15:01  Pedometer-master\.idea\gradle.xml
     文件        2930  2016-06-04 15:01  Pedometer-master\.idea\misc.xml
     文件         355  2016-06-04 15:01  Pedometer-master\.idea\modules.xml
     文件         564  2016-06-04 15:01  Pedometer-master\.idea\runConfigurations.xml
     文件         180  2016-06-04 15:01  Pedometer-master\.idea\vcs.xml
     文件        1076  2016-06-04 15:01  Pedometer-master\LICENSE
     文件          35  2016-06-04 15:01  Pedometer-master\README.md
     目录           0  2016-06-04 15:01  Pedometer-master\app\
     文件           7  2016-06-04 15:01  Pedometer-master\app\.gitignore
     文件        1401  2016-06-04 15:01  Pedometer-master\app\build.gradle
     文件         652  2016-06-04 15:01  Pedometer-master\app\proguard-rules.pro
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\
     文件        1192  2016-06-04 15:01  Pedometer-master\app\src\main\AndroidManifest.xml
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\assets\
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\assets\fonts\
     文件     3854132  2016-06-04 15:01  Pedometer-master\app\src\main\assets\fonts\trends.ttf
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\java\
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\java\com\
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\java\com\hzp\
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\java\com\hzp\pedometer\
     文件         510  2016-06-04 15:01  Pedometer-master\app\src\main\java\com\hzp\pedometer\PedometerApplication.java
     目录           0  2016-06-04 15:01  Pedometer-master\app\src\main\java\com\hzp\pedometer\activity\
............此处省略155个文件信息

评论

共有 条评论