1 / 9

Screen Tester Android App

Screen Tester Android App. Nithin Jino John Joshua Gonzales. Purpose.

arnav
Download Presentation

Screen Tester Android App

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Screen Tester Android App NithinJino John Joshua Gonzales

  2. Purpose The purpose of this application is to test how well the screen of any android device with various colors such as black to test the darkness and white to test the white balance. Colors such as red, green, and blue can be used to test for stuck/dead pixels.

  3. Various Functions • Tap the screen to manually change the color • Shake the device to manually change the color • The colors will cycle through at certain pace that is fast enough to possibly get stuck pixels “unstuck”

  4. Work breakdown • Nithin – CycleActivity and ShakeActivity • Josh – MainActivity and TouchActivity • Final Report and Powerpoint- done by both of us

  5. MainActivity class • The purpose of this class is that when the buttons are pressed, the app will respond and take it to the correct screen that has the correct activity to start. • Intent – any activty is invoked by Intent. It doesn’t matter where the user is in the app

  6. TouchmodeActivity class • Objects are created to represent the layout and the button • The method onClickListener() will respond if the button is pressed and will start the onClick() method. • The onClick() method is responsible for changing the color whenever the button is clicked

  7. ShakemodeActivity class • Uses the built in sensors on the device to decide if the phone is being shook or not. • The constants in the class is set to “earth values” • The onResume() and onPause() methods will stop or start the use of the sensors. This will improve battery life. • onShake() and ShakeEventListener() behave like the click counterparts

  8. Shakeeventlistener • This class was found online since there wasn’t an easier way to implement methods that will respond to shakes like onClick() and onClickListener()

  9. Cyclemodeactivity class • Since this updates the color rapidly, a little bit of researching had to be done to see how Android would handle it. • A new thread is created and that updates the UI. • The .sleep method is used to refresh the class every .01 seconds

More Related