文件名称:liuliangzhushou
介绍说明--下载内容均来自于网络,请自行研究使用
详细介绍 - [ Android项目源码带悬浮窗和图表统计的流量助手 ]
本项目是一个基于安卓的带悬浮窗和图表统计的流量助手项目源码,程序主要功能:
1、记录本月、当天的手机数据流量和WIFI流量
2、记录每个程序的当天使用情况
3、流量悬浮窗,显示每秒的流量情况(默认的是每5秒更新一次,如果觉得更新太慢改成1秒就好了)
原理是通过API里的TrafficStats类获得流量信息。
由于流量信息在关机后会被清零,所以用SQLite把数据保存了下来。
主要就是用了大量的数据库操作和很多逻辑上的东西(比如建两个数据表,一个临时汇总,一个记录真实数据)。
通过AlarmService实现定时更新流量。
通过前台Service实现悬浮窗,免得悬浮窗被回收。-This project is based on a Android with a suspended window and chart statistics flow assistant project source code, the main function of the program:
1, record this month, the day of the mobile data traffic and WIFI traffic
2, record the day of the use of each program
3, flow suspended window, showing the flow rate per second (the default is updated every 5 seconds, if you think the update is too slow to change to a second)
The principle is to obtain traffic information through the TrafficStats class in the API.
Since the traffic information in the shutdown will be cleared, so with the SQLite to save the data.
The main thing is to use a lot of operations and a lot of logical things (such as the construction of two data tables, a temporary summary, a record of real data).
Timing update traffic through AlarmService.
Through the front Service to achieve the suspension window, so that the suspension window is recycled.
本项目是一个基于安卓的带悬浮窗和图表统计的流量助手项目源码,程序主要功能:
1、记录本月、当天的手机数据流量和WIFI流量
2、记录每个程序的当天使用情况
3、流量悬浮窗,显示每秒的流量情况(默认的是每5秒更新一次,如果觉得更新太慢改成1秒就好了)
原理是通过API里的TrafficStats类获得流量信息。
由于流量信息在关机后会被清零,所以用SQLite把数据保存了下来。
主要就是用了大量的数据库操作和很多逻辑上的东西(比如建两个数据表,一个临时汇总,一个记录真实数据)。
通过AlarmService实现定时更新流量。
通过前台Service实现悬浮窗,免得悬浮窗被回收。-This project is based on a Android with a suspended window and chart statistics flow assistant project source code, the main function of the program:
1, record this month, the day of the mobile data traffic and WIFI traffic
2, record the day of the use of each program
3, flow suspended window, showing the flow rate per second (the default is updated every 5 seconds, if you think the update is too slow to change to a second)
The principle is to obtain traffic information through the TrafficStats class in the API.
Since the traffic information in the shutdown will be cleared, so with the SQLite to save the data.
The main thing is to use a lot of operations and a lot of logical things (such as the construction of two data tables, a temporary summary, a record of real data).
Timing update traffic through AlarmService.
Through the front Service to achieve the suspension window, so that the suspension window is recycled.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Android项目源码带悬浮窗和图表统计的流量助手
...........................................\KaikaiMonitor
...........................................\.............\.DS_Store
...........................................\.............\.idea
...........................................\.............\.....\.name
...........................................\.............\.....\compiler.xml
...........................................\.............\.....\copyright
...........................................\.............\.....\.........\profiles_settings.xml
...........................................\.............\.....\libraries
...........................................\.............\.....\.........\libs.xml
...........................................\.............\.....\misc.xml
...........................................\.............\.....\modules.xml
...........................................\.............\.....\uiDesigner.xml
...........................................\.............\.....\vcs.xml
...........................................\.............\.....\workspace.xml
...........................................\.............\AndroidManifest.xml
...........................................\.............\ant.properties
...........................................\.............\assets
...........................................\.............\build.xml
...........................................\.............\libs
...........................................\.............\....\xUtils-2.6.14.jar
...........................................\.............\local.properties
...........................................\.............\proguard-project.txt
...........................................\.............\project.properties
...........................................\.............\res
...........................................\.............\...\drawable
...........................................\.............\...\........\progress_loading.xml
...........................................\.............\...\drawable-hdpi
...........................................\.............\...\.............\ic_launcher.png
...........................................\.............\...\.............\loading.png
...........................................\.............\...\.............\marker2.png
...........................................\.............\...\drawable-ldpi
...........................................\.............\...\.............\ic_launcher.png
...........................................\.............\...\drawable-mdpi
...........................................\.............\...\.............\ic_launcher.png
...........................................\.............\...\drawable-xhdpi
...........................................\.............\...\..............\ic_launcher.png
...........................................\.............\...\layout
...........................................\.............\...\......\allapp_activity.xml
...........................................\.............\...\......\allapp_item.xml
...........................................\.............\...\......\chart_activity.xml
...........................................\.............\...\......\custom_marker_view.xml
...........................................\.............\...\......\float_bar.xml
...........................................\.............\...\......\loading.xml
...........................................\.............\...\......\main.xml
...........................................\.............\...\......\setting_activity.xml
...........................................\.............\...\values
...........................................\.............\...\......\colors.xml
...........................................\.............\...\......\strings.xml
...........................................\.............\...\......\styles.xml
...........................................\.............\src
...........................................\.............\...\com
...........................................\.............\...\...\kaikai
......