curtbinder / androidstatus Goto Github PK
View Code? Open in Web Editor NEWStatus application for Android Phones
License: MIT License
Status application for Android Phones
License: MIT License
Add water level expansion module, 1<<7
Display water level expansion values on screen somewhere.
It's type is a % from 0 - 100
Add preference for label
Add preference for displaying
Start the update service when the device boots
Change the active profile automatically.
The change can be done either of 2 ways:
There are only 6 inputs on the I/O device. 0-5. Remove the 7th (6)
Change the layout of the status screen to better hide the hidden rows. Currently if the row is hidden, it displays as a blank line. This creates extra gaps if the hidden fields are in the middle of the status information.
Consider:
When in the preferences screen, when you download the labels, the labels are downloaded and updated however they are not updated when viewing in the Preferences screen. You must exit the preferences screen to see the changes.
Don't update or try to update the status if network connectivity is lost
Create a homescreen widget
Start with something simple
Change to using a content provider instead of having the application directly insert the values. This would be beneficial so we are not broadcasting a lot of data to the apps. It would mean that other applications can request data directly from the database. It would simplify and decrease memory usage.
Add in the ability to
Ability to download the new labels and save them.
If the background / update service is unable to reach the controller for whatever reason, display an error message.
Display a notification in the notification area of the android device indicating that there is an error of some type. The error will most likely be the same error message that is displayed in the Update Status text inside the main app.
Also, consider changing the background of the widget to be RED or put an "alert" icon on the widget at well to catch the users attention. This extra step may not be needed.
Add in ability to toggle channel visibility on the dimming module page
Give the ability to change the colors of the status text from their default values.
When the app is updated from a previous version, a Whats New screen should popup highlighting the major changes made to the app.
Display the IO Channel status
Add in a page that displays the Vortech values:
Show the values in 2 columns: Label VALUE
Add in ability to toggle displaying custom variables on the custom page.
Hides variables that are not in use.
Add in a preferences screen to toggle the ability of the expansion devices:
ORP and Salinity are handled on the Controller Status page
Add in the ability to configuration the visibility of the PH label
Update the string names to be more uniform and consistent.
Have an option to enable logging support. This will allow you to have the full output of the progress be saved to a file. It will also log all the error messages during communication as well.
Also give the option to
Under the Expansion section in the Preferences Screen, the settings currently are specific to relay expansion boxes. This needs to be changed to allow for the additional expansion pages.
Move the settings: Quantity, Expansion Labels, old 085x mode
To a Relay / Relays page
page switching and displaying works as desired if all the modules are enabled.
if you have a later module enabled but not a middle module, the lower/middle module is displayed and the later one is not.
If you long press on the value, a popup window shows up and allows you to edit the value. You will get a "Change" / "Cancel" button window with the possible values.
Mode will contain a text list of the possible values
Speed and Duration will contain an edit box with the current value and then the ability for you to change it to a new value. Range validation will be performed before allowing the user to set the value.
Add in the ability to display the Dimming Expansion values
Give ability to change the labels for the dimming expansion channels, 1 - 6
Display in linear list for portrait
Display in 2 column format for landscape
Allow user to configure whether or not the application title is displayed / showed or not. (Aka, going to full screen mode)
When changing the type from a controller to a portal, the relay buttons are able to be clicked when they shouldn't be. Nothing gets updated, but the action should not happen. The same holds true vice versa. When changing back to a controller, you are not able to click the toggle buttons to change the relays.
This is fixed if you restart the application.
Look at the OnPause / OnResume functions inside StatusActivity.
Need to look at clearing the onclicklisteners and setting the clickable value to true/false appropriately.
Add in a Read Only / Monitor mode
What can be done:
What cannot be done:
Add in an option on the Preferences Screen to download the module settings from your Portal. Not sure where this would go on the Preferences Screen.
The current values for the variables:
Give the ability to change the background color from black to whatever color the user wants.
Add in a screen / page to view the Radion information
Display in 2 column format
Display:
For the larger screens, use a coral reef background image behind the status screens.
Should be displayed in the pager window, behind the statuses.
switch service to use onStartCommand instead of onStart.
see onStartCommand documentation for ways to handle versions prior to api level 5
http://android-developers.blogspot.com/2010/02/service-api-changes-starting-with.html
Add in the ability to change the labels of the relay boxes. Currently, they are displayed as:
Update the landscape views for:
Have the views in 2 column formats
move the database functionality to it's own package inside the application
Labels are not being updated after being downloaded from the forum. The parsing fails. The problem is with all the new label tags that have been created that conflict with the other tags. Most specifically the PWME tag is causing a problem. The custom variable and io variables may cause problems too.
Display a percent sign after the value on the radion page.
Not sure if this is desired or not.
Allow the user to specify what network connection to use for updating the status
List box
add the following fields to the database
Add PH Expansion module, 1<<6
Display PH Expansion module on main screen below ORP
Add preference for displaying
Add preference for label
Add field to database
Add the ATO port displaying on the status page
Add a page/screen to display the AI information
Have the labels be the same color and name as the channels:
Add in a page to display the custom variables
Add in preference screen to change the labels for the Custom Variables
If label is changed, display the variable in parenthesis
Display the value of the variable
Screen Layout would look like this:
(C#) Custom Var: VALUE
Allow to specify the update interval for the service:
Pressing the refresh button forces and immediate update
It's reported that only port 0 is being toggled on/off with the status of the IO ports.
Need to confirm this.
Improve landscape layout for relays. Instead of it being a linear list, change to a 2 column format.
The format would be like this:
Label1: STATUS1 STATUS2 :Label2
or remove the ':' completely
Improvements for host validation to ensure proper hostname.
Improve the relay overridden image. Currently a green circle. Could possibly improve the display and size of the image.
The new release of the libraries will be using new memory locations.
Need to update the app to work with both new and old locations:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.