I would like to get some help with my problem. Here are the details:
- Android application.
- Connected to a sensor (Zephyr Bioharness) via bluetooth.
- Receive and save the values (250 values/sec) for 2 minutes (demo purposes).
- Storage the values on the database with ORMLite.
- Read them all (queryForAll()) in order to create a JSON.
- The application crashes.
In the future it may be saving values for 30 minutes, so it's a problem we must solve in an efficient way.
My only idea is reading the values by blocks. Can I do that with ORMLite ?
In case you have a better solution, it will be also appreciated.
Thank you in advance.