Systers Community

Create Log messages for Android application

Prerequisite:

  • Follow the instruction on Github Repo to set up the project.
  • Enable debugging on your device (this step is required only for physical devices)

Steps:

  • Write Debug Log Message with Tag for any three function in a Activity
  • For Ex : You can write Log Message for function aboutHelpingByPressed or aboutGamePressed_ in AboutActivity
  • Run and install application
  • Click View > Tool Windows > Logcat (or click Logcat in the tool window bar)
  • Select Debug in drop down menu (inside Logcat window)
  • Check if Log messages appears when button pressed appears as expected.
  • If you can't find your written log message, filter your log messages.

Resources:

  • Follow this to research about Write and view Logs with Logcat
  • Research about System Logs at this link
  • Ask any questions or directions in the #powerup on Systers Open Source Slack. Mention @geekanamika if you need help on this task

Work Submission:

  • Screenshot of Log window with appropriate filtered Log messages for any one activity.
  • Submit a pull request with changes made during task.
  • Provide link of pull request in comment section before submitting.

Task tags

  • android
  • quality assurance
  • beginner

Students who completed this task

Yuyuan Luo, Abhijeet Manohar, Aryaman Agrawal, Phoebe Fletcher

Task type

  • done_all Quality Assurance
close

2017