动态曲线显示的心率计

安卓机器人 2015-03-05 09:06:11

这个项目是我开发的一款心率计,以波浪曲线的形式来显示心率变化,请看下面的预览图片

http://a1.eoeandroid.com/attachment/forum/201503/05/203618fqznini0ps3q3rts.gif

http://a1.eoeandroid.com/attachment/forum/201503/05/205342y3htbhh47htu77bb.png

http://a1.eoeandroid.com/attachment/forum/201503/05/205345p71qy7ys2oyqpww2.png

http://a1.eoeandroid.com/attachment/forum/201503/05/205347b6v0vdwneenwvzda.png

http://a1.eoeandroid.com/attachment/forum/201503/05/205349vmkkt3hztzi9mkck.png

开源代码地址:https://github.com/dirtyhub/WaveHeartRate

欢迎大家fork后自己开发,也欢迎大家star后以备后用



/**the view width as 9 weights*/
private static final int WIDTH_TOTAL_WEIGHTS = 9;
/**the view height as 9 weights*/
private static final int HEIGHT_TOTAL_WEIGHTS = 9;


//The peak point, all of numbers are weight, such as (4/total_width_weight)*width, (0/total_height_weight)*height
//(8,7) to (6,0)

//need to draw line by other software

//draw the wave peak when the valid heartrate is gotten.
//LLL 0 1 2 3 4 5 6 7 8 9
//0 (7,0)[2]
//1
//2
//3
//4
//5
//6
//7 (0, 6)[5] (4,6)[4]
//8
//9 (8,6)[1]
//10 (5,9)[3]
...全文
338 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
丅壹秒 2016-03-02
  • 打赏
  • 举报
回复
项目的library:malata_base是什么?项目中没有包含也没有说明。
开发者_android 2015-03-06
  • 打赏
  • 举报
回复
项目的library:malata_base是什么?项目中没有包含也没有说明。
开发者_android 2015-03-06
  • 打赏
  • 举报
回复
mark 感谢LZ的分享。精神太可贵了!赞!!!!
windfury_plus 2015-03-06
  • 打赏
  • 举报
回复
mark,感觉不错,感谢楼主的分享

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧