It is currently Sun May 28, 2017 5:16 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 155 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16
Author Message
 Post subject: Re: Calorie Confessor Food Diary
Unread postPosted: Wed Jan 04, 2017 5:29 am 
Offline

Joined: Wed Apr 15, 2015 3:57 am
Posts: 441
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"


Report this post
Top
 Profile  
 
 Post subject: Re: Calorie Confessor Food Diary
Unread postPosted: Sun Jan 15, 2017 5:01 pm 
Offline

Joined: Wed Apr 15, 2015 3:57 am
Posts: 441
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.)


Report this post
Top
 Profile  
 
 Post subject: Re: Calorie Confessor Food Diary
Unread postPosted: Sat Apr 15, 2017 6:27 am 
Offline

Joined: Wed Apr 15, 2015 3:57 am
Posts: 441
We hit 2000 installs this week..
I decided to go gluten free on my diet and after a couple restless nights I am feeling pretty good.


Attachments:
Screenshot_20170415-092128.png
Screenshot_20170415-092128.png [ 122.1 KiB | Viewed 203 times ]
Report this post
Top
 Profile  
 
 Post subject: Re: Calorie Confessor Food Diary
Unread postPosted: Wed Apr 19, 2017 7:39 pm 
Offline

Joined: Wed Apr 15, 2015 3:57 am
Posts: 441
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.


Report this post
Top
 Profile  
 
 Post subject: Re: Calorie Confessor Food Diary
Unread postPosted: Mon May 22, 2017 4:13 pm 
Offline

Joined: Wed Apr 15, 2015 3:57 am
Posts: 441
I think the apps been crashing too much for other users so I decided to make some changes to improve stability over speed. I disabled the initial html loading since I think it was generating a lot of onCreate nullPointer errors. I also have the app exit whenever it senses it goes into background() because for some reason it still isn't happy if it sits in HOME mode for too long.

The launch time hasn't suffered too much and it does seem to be cutting the number of reported crashes from my users.

Still waiting to see what happens with the voice nutritional app that MIT is working on.... hopefully they used some of my ideas. For now, we are still the #1 "Voice Calorie Counter" on Google Play I think and about #50 for all calorie counters (and there are a *lot* of them).


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 155 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16


Who is online

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

Search for:
Jump to:  
suspicion-preferred