I am providing an app which can log light sensor data of a smartphone. Following modification of the app is required
1. In the app, light sensor data is being saved. You need to deploy following logic.
If Light sensor data > 500, save 1
If Light sensor data<500 save 0
2. If saved value matches with a certain pattern like 11100011 then the watch will shut down.
Remember, you have to provide the shut down function correctly. I may need to test the app in a rooted phone to get all the permission for shutting down the phone programmatically.
I can even provide the code that can measure the light sensor data and check for a certain pattern. Just the shut down function is needed to add in the app.
Dear Client
I have already made an app using Light Sensor
I just need to make changes to it so that i can fulfill your requirements
I can show the demo of that app right now if you want
Hope to see you in chat soon for further details
Client Satisfaction is my Top Priority