Placing graphs with sin / cos waves in my activity

I am currently developing an Android application that should receive data from a Bluetooth device and then display it. Some of this data comes in the form of sin / cos waves and needs to be graphed.

Does anyone know how to add graphs to their activity? First, the graph should be empty, then the user can choose from 12 different signals on the graph.

thanks

+4
source share
1 answer

achartengine is a charting library created for android.

Google also provides a graphics card API that will generate png for you, which you can then show in ImageView

I think both can create line graphs. You just need to generate data that will be a sin / cos wave and pass it to the diagram engine.

+2
source

All Articles