Here's an app I wrote in b4a. The code is pretty ugly, but it seems to work. This app is pretty exciting -- if you're a logger!
https://play.google.com/store/apps/details?id=com.stickscaler.logscaletally
https://play.google.com/store/apps/details?id=com.stickscaler.logscaletally