Design and Implementation of Sports Recording APP Based on Android (Thesis + Source Code)_kaic

    Abstract
With the improvement of people's living standard and quality of life, people pay more and more attention to their health. And running has become the most popular way of exercise for people, and exercise software can provide great help when people exercise. This paper designs a sports software based on the Android platform for motion trajectory and step counting. By using Baidu Eagle Eye, gravity sensor and database technology, this system realizes functions such as motion track tracking, step counting, and viewing of motion records. The system has a friendly interface, simple operation and stable operation. This sports software is suitable for people who don't have enough free time. It is convenient for people to exercise at any time and check their own sports conditions.
Keywords: Android, Baidu Eagle Eye
                                      Abstract
With the improvement of people life level and quality of life, people more and more attention to their own health. While running to become the most popular sports, sport software can provide great help when people exercise. Based on trajectory and step, design a movement based on the Android platform software. This system through the use of baidu eagle eye, gravity sensor, and database technology, to realize the trajectory tracking, step, check the movement records, and other functions. This system friendly interface, simple operation, stable operation. This movement software suitable for the lack of leisure time, convenient people at any time to exercise, and view the movements of their own.
Keywords: Android, baidu's eagle eye
目录
1 绪论    
1.1 软件开发背景    
1.2 The purpose and significance of the paper research    
1.3 The main research content of the paper    
1.4 The organization structure of the paper    
2 Introduction to related technologies    
2.1 Composition of the Android system    
2.1.1 Application layer    
2.1.2 Application framework layer    
2.1.3 System runtime layer    
2.1.4 Linux kernel Layer    
2.2 Activity life cycle    
2.3 Android platform construction    
2.3.1 JDK installation    
2.3.2 Eclipse installation    
2.3.3 Android SDK installation    
2.3.4 ADT installation    
2.3.5 Create DVD    
3 Demand analysis    
3.1 Feasibility analysis    
3.1. 1 Economic feasibility analysis    
3.1.2 Technical feasibility analysis    
3.1.3 Operational feasibility analysis
3.2 Functional requirements analysis
3.3 Non-functional requirements analysis    
3.3.1 Ease of use    
3.3.2 Reliability
3.3.3 Security    
3.3.4 Operating environment    
3.4 Object-Oriented Analysis    
4 System Design    
4.1 Outline design    
4.2 Detailed design    
4.2.1 Overall system design    
4.2.2 Detailed design of step counting module    
4.2.3 Detailed design of trajectory tracking module    
4.2.4 Detailed design of music player module    
4.2.5 Detailed design of alarm module    
4.3 Database design    
4.3.1 Database Analysis    
4.3.2 Database Conceptual Design and Table Structure    
5 System Implementation    
5.1 Step Counting Module Realization    
5.2 Trajectory Tracking Module Realization 5.3    
Music Player Module     Realization
5.4 Alarm Module Realization    
6 Test    
6.1 Step Counting Module Test    
6.2 Track Tracking Module Test    
6.3 Motion Recording Module
End of     Test    
References    
Acknowledgments    

1 Introduction
1.1 Background of software development
With the improvement of people's living standards and quality of life, people use mobile phones more and more in the process of daily communication and entertainment. High, and more and more attention is paid to the high-level services and various applications of mobile phones. Nowadays, with the development of the mobile phone market, various operating systems have appeared on mobile phones, and the most popular one is the Android operating system, which is an open source and Linux-based operating system, which has openness. Developers can use the most popular Java language on the Android platform to customize their own operating systems. It is these features that make Android the most used and most popular mobile phone platform. At present, due to the fast pace of life, more and more people pay attention to physical health issues, and running has become the easiest way to keep fit, and fitness software will gradually become an essential software on mobile phones. Therefore, this article will design a mobile phone application software that meets the needs of public fitness.
1.2 The purpose and significance of the paper research
Android is a free and open-source operating system based on Linux, which is mainly used in mobile devices, such as smart phones and tablet computers, and is widely used in many smart phone platforms [1]. The biggest advantage of the Android system is its open source, which also creates its infinite development potential. The open platform allows any mobile terminal manufacturer to join the Android Alliance, and because of its openness, it attracts many developers. Therefore, this paper designs a sports software based on the Android platform.
In the long-term development process, Android has promoted the rapid formation of the Internet industry, and the mobile phone software development industry has emerged as the times require. More and more people have begun to pay attention to the development of this industry, and there is a huge user base. Therefore, in the future, Android The development of Android will also become more and more important. Therefore, we need to understand Android through corresponding technologies, and understand the advanced concepts and ideas of Android developers, so as to go deeper into the mobile phone software industry and better adapt to the needs of the times [2].
1.3 Main research content of the paper
The sports software designed in this thesis is designed for the majority of sports users. The purpose is to facilitate sports users to exercise, so that users can enjoy the fun of sports during the process of exercising, and can also view their own sports process and exercise. One of the highlights of this software is the Baidu Eagle Eye technology, which can use GPS and sensor information during the user's movement to achieve high-precision continuous track tracking indoors and outdoors, and supports viewing historical tracks. The use of sensors is another highlight of this software. This software uses an acceleration sensor to realize the step counting function.
1.4 Organizational structure of the thesis
This paper is divided into six chapters, the main introduction is as follows:
The first chapter is the preface, which mainly introduces the research background of the pedometer based on the Android platform, the main content of the research, the purpose and significance of the research, Let readers understand the design significance of this software and the general structure of this article.
The second chapter is the introduction of related technologies. Through the introduction of the system development technology of the Android platform used in the development of the love sports pedometer, readers can have a deeper understanding of some basic knowledge of Android.
The third chapter is requirements analysis. This chapter will analyze the feasibility of the software, and specifically analyze the system from four aspects, which are feasibility analysis, functional requirements analysis, non-functional requirements analysis and object-oriented analysis.
The fourth chapter is the system design. The basic outline of the system will be completed from the outline design, detailed design and database design. Trajectory tracking module, weather forecast module, music player module, alarm module, theme replacement module, platform sharing module, exercise recording module, in the database analysis, the database and data tables are analyzed to complete the design of the whole system.
The fifth chapter is the system implementation. In order to make users familiar with the operation of the software, this chapter will introduce each module implemented by the system in detail. At the same time, it will show the core code of the system and screenshots of running, so that users can understand the software more intuitively. run.
The sixth chapter is the test chapter. In order to find the errors in the software, a series of tests need to be carried out to meet the needs of users. The functions of the test include step counting module, trajectory tracking module, and exercise recording module.
2 Introduction to related technologies  
2.1 Composition of the Android system
The bottom layer of the Android system is built on top of the Linux system. The platform consists of four layers: the application layer, the application framework layer, the system runtime layer and the Linux kernel. It adopts a hierarchical architecture This architectural approach separates layers from each other and clarifies their respective division of labor [3]. The four parts are briefly introduced below.
2.1.1 Application layer
All applications in the application layer are written in Java language, and Android will be released together with a series of core application packages, which include email client, SMS message program, calendar, map, browsers, contact management programs, etc. [4].
2.1.2 Application Framework Layer
The Android application framework layer provides a large number of APIs for developers to use, helping developers develop more flexible, more practical, and more efficient applications. In addition to being the basis of application development, Android applications are also an important means of software reuse. Any program can publish its functional modules under the framework's reservations, and then other applications can use this functional module [5] .
2.1.3 System runtime library layer
1. Program layer
Android includes a set of C/C++ libraries used by different components. Generally speaking, Android application developers cannot directly call this set of C/C++ libraries, but they can use it The application framework above calls these libraries [6].
2. Android runtime
The Android runtime consists of two parts: the Android core library set and ART. The core library set provides most of the functions that the Java language core library can use, while ART is precompiled when the user installs the APP. , advance the compiling action when the program is running to when the application is installed, which can improve the operating efficiency of the APP [7].

 

 

 

Guess you like

Origin blog.csdn.net/weixin_39563171/article/details/130445107