How to create ECG animation on Android Application

前端 未结 2 504
余生分开走
余生分开走 2021-02-06 15:44

I coded an android application which is measuring heart rate from camera input. I needed to desing an ECG animation to the application. I know that ECG isn\'t related. But I\'ll

2条回答
  •  灰色年华
    2021-02-06 16:05

    To do real time graphing of ECG data...which is what I am coding right now, you need to create a custom view. Then in the onDraw method you use your canvas to draw a bitmap. Then inside the custom I also implement a Runnable that paints the line using drawline, and then invalidates(). I'd show you code but its proprietary since everything I found did not measure up to the speeds I had to graph.

提交回复
热议问题