1)App should continuously run in background 24X7 and call webservice and parse data ,you will receive integers from 0 to 10 as result from webservice call.
Webservice will be provided.
2)App should not stop at any time,it should restart the service if failed at any point of time.
3)Code is already having turnOnLed() for and turnOffLed() under [login to view URL] file
4)You can see below code :
[login to view URL]().write("0".toString().getBytes()); as code in [login to view URL] which is nothing but 0
[login to view URL]().write("1".toString().getBytes()); as code in [login to view URL] which is nothing but 1
So you can add more methods for other responses which is from 0-10
4)Splash screen can be bird spalsh screen,you can find [login to view URL] file too,can replace images in the whole app accordingly.
5)Keep bird images where ever you find it,feel free to ask me if you have any questions.
6)Make sure start sticky and task removed listeners are implemented to all mobile versions.
You can keep a variable for device address in app.
Device address will be used for 1 mobile,each mobile will have unique device address.
For now u can either of addresses 8asasfsfgfs
Background webservice should run 24X7 if app is closed or not also,this webservice should restart if mobile is restarted also.
Please consider the scenarios accordingly.
Below are 2 webservices :
there are 10 values with 0 and 1 which is nothing but 10 relay ,receiving point in Arduino is already working as you know.
You have to check this array if array has chnaged then u have to paas it to Arduino ,it means there is a change.
This webservice should continuously hit and get response.
Device Location Store
This webservice should pass parameters like latitude ,longitude of mobile,battery level(will discuss later),speed(speed of mobile while moving in km/hr) and continulosuly run 24X7 and no failures ,restart automatically when mobile is restarted also.
3)I also need confirmation from Arduino if relay have processed the concerned request or not and pass 1|1|0|1|1|0|0|0|0|0 to this webservice.
Mobile and Arduino should be synced continuously .
4)No need to connect Bluetooth to mobile all the time,very first time we will connect and it should connect automatically and sync with mobile.