Page 23 of 33

Re: Android Reef Angel Status

Posted: Fri Jul 18, 2014 6:24 am
by Sacohen
I'll look at everything again. I may have missed a step.

Re: Android Reef Angel Status

Posted: Fri Jul 18, 2014 7:05 am
by binder
Sacohen wrote:I'll look at everything again. I may have missed a step.
cool. let me know if i need to help out at all or explain anything.
honestly, after you get things setup, theres not much different than normal.


Sent from my iPad mini

Re: Android Reef Angel Status

Posted: Sun Jul 20, 2014 5:44 pm
by Sacohen
binder wrote:
Sacohen wrote:Curt;

Are the multi water level sensors in the Android App completely?

The reason I ask is that I connected mine and it does show up in the app, but I set the name of Water Lever 1 in the portal to ATO Reservoir and I told the app to download the labels from the portal and it's not changing the name of Water Level 1 in the App.
They are supposed to be working properly. I do not have a multi water level unit to test properly. I will have to look into things further but it all appeared to be processing appropriately when I tested things out..
Something is not right with the notifications for the Multi WL Sensor.

I have my WL and WL1 sensor set as...

WL< 35
WL1 < 01

Image

My levels are at...

WL 34%
WL1 61%
Image

The notifications I'm getting are correct for the WL "Water Level: 33 < 35"

Image

But the notification for the WL 1 "Water Level 1: 0 < 1" even thought WL 1 is at 61%

Image

Also if I have the notification set to Water Level 1 = 61 I get not notification.

Re: Android Reef Angel Status

Posted: Sun Jul 20, 2014 6:04 pm
by binder
Hmmmm....I will have to revisit the notifications and make sure I have them coded properly. Thanks for the examples on this. Hopefully I can have something for you soon.

Re: Android Reef Angel Status

Posted: Sun Jul 20, 2014 6:13 pm
by Sacohen
No rush. They are nothing major for me right now.

Re: Android Reef Angel Status

Posted: Sun Jul 20, 2014 6:19 pm
by binder
Sacohen wrote:No rush. They are nothing major for me right now.
ok but it still needs to be addressed to function properly.

Sent from my Moto X

Re: Android Reef Angel Status

Posted: Fri Jul 25, 2014 6:35 am
by Sacohen
I just got the 0.9.6. beta 3 update and it looks like you fixed the issues with the Multi Water Level sensor notification.
Thanks a lot.

Re: Android Reef Angel Status

Posted: Fri Jul 25, 2014 6:53 am
by binder
Sacohen wrote:I just got the 0.9.6. beta 3 update and it looks like you fixed the issues with the Multi Water Level sensor notification.
Thanks a lot.
awesome! glad to hear it.
btw, i tried to just update via the beta channel and not post anything to see how it works and if you would get the update. looks like you did and everything is working properly. :-)


Sent from my iPad mini

Re: Android Reef Angel Status

Posted: Fri Jul 25, 2014 8:17 am
by Sacohen
Seems to be.
I guess it took sometime to make it thru Google.

Re: Android Reef Angel Status

Posted: Sat Aug 02, 2014 6:23 am
by binder
0.9.6 Beta 4 was just pushed to the play store for those who have signed up for Beta versions. This version adds in the 16 channel pwm support that AlanM has been working on (and maybe others). Beta testers should be getting an update notification in a few hours (or sometime today). For the rest of you that want to test it out, here's a QR code to download it.
096Beta4.png
096Beta4.png (457 Bytes) Viewed 11525 times

Re: Android Reef Angel Status

Posted: Tue Aug 12, 2014 11:16 am
by binder
0.9.6 Beta 5 (hopefully the last beta test before officially release), was pushed to the beta channel of the play store. those who are signed up, you should be getting a notification in a few hours.

i made some pretty big changes under the hood with this update. it's all part of the ever changing world of android.
i removed the ActionBarSherlock and ViewPagerIndicator library dependencies and make use of the built in android versions (thanks to phrusher for doing the work for me against my main branch). i also switched to using a different network communication library OkHttp. This should "hopefully" help out with the network connections and some of the errors.
i also upgraded/updated the error messages....some of the standard ones now actually are more meaningful and display a better message. Going along with this, if you get an error while reading the XML data from your controller, that XML data is actually saved (if it can be) and written out to the application log file. this should be able to help pinpoint down what some of the errors are coming from. often times these errors end up being from a prematurely closed network connection or the content-length of the xml data is less than the amount of data being read in and the app simply stops reading once it hits that amount. i didn't discover this until just recently when helping implement the 16 channel dimming support. i haven't quite figured out yet how to get around that type of error but i am looking into it. With this XML data being saved to the log file, you need to enable Logging in the settings. Also, previously, you could only delete the log file or email it to me. Now, I've added the ability to view it from within the app....the viewer is not the best right now but it's a start. I may add the ability to open it up in an external editor, but we shall see if that functionality is actually requested.

so anyways, there have been a fair amount of changes being made in an effort to improve the app. lastly, for those who want a QR code to download it, here ya go...
096Beta5.png
096Beta5.png (2.81 KiB) Viewed 10912 times

Re: Android Reef Angel Status

Posted: Tue Aug 12, 2014 11:24 am
by rimai
Thanks Curt!!!
I went to this link: https://plus.google.com/communities/106 ... 8650872090
Clicked "Android Beta Link Signup on the top right box and I get an error page :(

Re: Android Reef Angel Status

Posted: Tue Aug 12, 2014 11:26 am
by rimai
Never mind... I needed to join the community first

Re: Android Reef Angel Status

Posted: Tue Aug 12, 2014 11:30 am
by binder
rimai wrote:Never mind... I needed to join the community first
ok, haha. glad you got it figured out.


Sent from my iPad mini

Re: Android Reef Angel Status

Posted: Tue Aug 12, 2014 12:11 pm
by Sacohen
Thanks Curt. Great work.
I'll patiently be waiting for the update to come down.

Re: Android Reef Angel Status

Posted: Wed Aug 13, 2014 5:37 am
by cosmith71
Hey Curt,

Could you add an option to disable the screen turning off?

Thanks,

--Colin

Re: Android Reef Angel Status

Posted: Wed Aug 13, 2014 6:39 am
by binder
cosmith71 wrote:Hey Curt,

Could you add an option to disable the screen turning off?

Thanks,

--Colin
you mean in the app, disable allowing the device to shutoff the screen? like with some of the navigation apps?


Sent from my iPad mini

Re: Android Reef Angel Status

Posted: Wed Aug 13, 2014 7:20 am
by cosmith71
binder wrote:
cosmith71 wrote:Hey Curt,

Could you add an option to disable the screen turning off?

Thanks,

--Colin
you mean in the app, disable allowing the device to shutoff the screen? like with some of the navigation apps?


Sent from my iPad mini
Exactly. Pretty please?

--Colin

Re: Android Reef Angel Status

Posted: Wed Aug 13, 2014 11:52 am
by binder
cosmith71 wrote:
Exactly. Pretty please?

--Colin
haha. lemme look into it and see what i can come up with. i would think it shouldnt be too complicated.
so i may have something later today or this week.

Sent from my iPad mini

Re: Android Reef Angel Status

Posted: Thu Aug 14, 2014 7:06 am
by cosmith71
Thanks! The tablet I'm using on my tank doesn't have the option to turn sleep off like some others does. It drives me crazy.

--Colin

Re: Android Reef Angel Status

Posted: Thu Aug 14, 2014 7:07 am
by cosmith71
Thanks! The tablet I'm using on my tank doesn't have the option to turn sleep off like some others do. It drives me crazy.

--Colin

Re: Android Reef Angel Status

Posted: Thu Aug 14, 2014 7:11 am
by binder
cosmith71 wrote:Thanks! The tablet I'm using on my tank doesn't have the option to turn sleep off like some others does. It drives me crazy.

--Colin
haha. yeah, i recall you mentioning that a while back. i just have got caught up in lots of other stuff and have forgotten about it.

now, i have it added to my list of feature requests on my personal server project tracking app. so i wont forget it. :-)


Sent from my iPad mini

Re: Android Reef Angel Status

Posted: Thu Aug 14, 2014 7:14 pm
by AlanM
Working great! The 16 channel dimmer works great too. I like how the app doesnt show me temps or modules that I dont have.

Re: Android Reef Angel Status

Posted: Fri Aug 15, 2014 7:00 am
by binder
AlanM wrote:Working great! The 16 channel dimmer works great too. I like how the app doesnt show me temps or modules that I dont have.
Awesome! glad to hear it.
I don't think the notifications work for the 16 channel dimming yet. I think I forgot to add them in.

Sent from my Moto X

Re: Android Reef Angel Status

Posted: Fri Aug 15, 2014 10:06 am
by binder
Here's a teaser for everybody. Check out my post on the Google Plus community page.

https://plus.google.com/116490304417604 ... jYa4CJVKvC

(it's easier to share the post instead of recreating it)

Re: Android Reef Angel Status

Posted: Fri Aug 15, 2014 10:11 am
by cosmith71
Awesome! Can't wait!

Re: Android Reef Angel Status

Posted: Fri Aug 15, 2014 12:33 pm
by dapg8gt
The new layout looks great Thanks for the extra work, Can't wait to have that on my tablet display.

Re: Android Reef Angel Status

Posted: Wed Aug 20, 2014 5:42 pm
by binder
cosmith71 wrote: Could you add an option to disable the screen turning off?
This was much easier than I thought it would be. It only consisted of 1 line of code (actually 3 if you count the if statement to see if the user has chosen to enable this option).

The way it works (if enabled) is the screen will stay on and not dim as long as you are in the main app (viewing any of the pages...Flags, Controller, Commands, Relay, etc). If you are on the memory, notifications, settings, errors, etc screens, the app will dim like normal regardless of the setting. I figured this is should be acceptable because if you are viewing any of those screens you are doing something. If this is not acceptable, then I can move the code around to have it work on all the screens. You will just have to let me know what you think.

Re: Android Reef Angel Status

Posted: Wed Aug 20, 2014 6:14 pm
by binder
Just released the official version 1.0 of the app.

Yeah, I finally got tired of the 0.9.X versions and decided to go with 1.0. Everybody should be getting the update on their devices in the next few hours (and definitely by morning). Here are the changes for this version:
  • added in basic webserver authentication mechanism for v1.1.1 libraries
  • switched the position of Commands page and Flags Page
  • added in Notifications for Water Level 1-4 and Humidity
  • added in 16 channel pwm support
  • removed ActionBarSherlock and ViewPagerIndicator library dependencies
  • switched to use OkHttp library for network function calls
  • changed minsdk to 7 (was 5), which is Android 2.1
  • improved error messages
  • added the ability to display the error log file
  • added preference to keep screen on when displaying the main screen
  • code cleanup and bug fixes
As you can see, I increased the minimum version required to run the app. I dropped support for all android devices running below 2.1. This amount is so small and I needed to for some of the new features. I'm considering dropping the entire android 2.X versions altogether (meaning drop 2.3.X) in order to simplify some of the new features and looks that I'm working on in the next major release. If this will affect you, please let me know. The statistics that google provides for me shows that only 9% (51 devices) of all the installations (565 devices) of my app are on android 2.X (and I think I have 1 of those devices). If I dropped support for those devices, the app would just stay with its current version and not receive any future updates. I don't like doing this because I want to support all flavors of android but in order to keep adding new looks and features, some sacrifices need to be made at times. I also realize that some people install the app to see what it is and then never uninstall it or never use it again.

Now that I have this release out, I'm going to continue my efforts towards the new UI. I still have lots to do to polish the app up and make it function smoothly.

Re: Android Reef Angel Status

Posted: Wed Aug 20, 2014 7:25 pm
by lnevo
Congrats on 1.0!! A great milestone!!!