Yep.. the lockup seemed to be caused by the ONBACKGROUND: interrupt being triggered before the global bundle was created. This caused the ONERROR interrupt to lock the app maybe because of a mode switch.
I fixed it by adding another global flag to make sure that the bundle was actually created before it uses it in the background interrupt. I also disabled the ONERROR interrupt since I don't think I will need it anymore.
I will upload the fix tonight but for now the fixed apk version 4.52 will be published on the play store under "Voice Calorie Counter"
Version 4.54 is on the ftp server... Sadly I think I will have to give up on the idea of using HOME - it just makes the app too unstable (though curiously the problems seem worse on different model phones) ... It does launch pretty zippy now though and actually I speeded up my phone quite a bit by using the Nova Launcher.
I have to see if the app will be stable if I use the Home button though since this might still be a problem.
Also, I think I still have bad memory management in the app: There are a few large arrays, lists and bundles created inside of functions that I should probably recycle.
(As far as my diet goes, my body is recovering from all the junk I ate over the holidays and I am exercising more.. still hovering around 207lbs but I do feel better.)
I pulled the graphs out into a separate INCLUDE file to make things a bit more maintainable.
New features include "Copy to Today" on the calorie buttons, a "blind mode" suitable for use with "OK Google Launch Voice Calorie Counter" and the return of the TTS speaker icon.
The blind mode is a little tricky to use. It kind of works best if you know the calories already and just say "banana 105 calories" otherwise you still have to verify the calories in a couple separate steps. It's pretty cool that it works most of the time though. You also would probably want to turn on autoquit to make it more hands-free.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum