Logging time reduced when using Android SDK
I have been using the Android SDK for connecting to a Metawear C. I am facing a problem while logging data. When I use the Metabase Android App, I am able to log nearly 295 seconds of data. At the same time, when I use the SDK to log data, I am initially establishing a connection with the board. After which I am starting to log data. When I stop the logging after around 5 minutes, I am many a times finding that the board logged data only for a minute or two.
Initially I thought that it was a problem because I was using "false" for overwrite. But even after replacing it with "true", I am finding the same issue.
One thing that I noted was, I can log for a longer time on my own app after I log using the Metabase app. Hence, another attempt at resolving the issue was to use logging.clearEntries(). That didnt help either. I am facing the same issue.
I am not sure what I am doing wrong. Clearly my implementation of using the logging sdk is wrong. Would really appreciate some help with best practices/sequence of events to log the data properly.