Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing listen feature added #668

Conversation

ShivangiSingh17
Copy link
Contributor

Description

The audio clip was not playing while the data was fetched from the wiki pages. Now the audio files are added that will play the audio file when the user opts for the pronunciation of the word by clicking on listen

Fixes #569

Type of change

Just put an x in the [] which are valid.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • ./gradlew assembleDebug assembleRelease
  • ./gradlew checkstyle

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy link
Member

@Swati4star Swati4star left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to add audio files for each state in this case? Is there no other way?

Also, trvais checks are failing

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove .idea folder from commit

@@ -13,6 +14,8 @@ android:
- extra-google-m2repository
licenses:
- '.+'
before_install:
- chmod +x gradlew
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these changes required? If so, why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Travis was failing so I referred to a post and made changes to solve but still the problem was nort solved.

private AudioManager mAudioManager;

/**
* This listener gets triggered when the {@link MediaPlayer} has completed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add javadoc style comments

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I will do that

@ShivangiSingh17
Copy link
Contributor Author

Do we have to add audio files for each state in this case? Is there no other way?

Also, trvais checks are failing

I tried with removing the whole functionality but that did not work so I approached in this way.
Do you have any suggestion to approach, then please do guide me.

@Swati4star Swati4star closed this Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The page loses functionality while fetching data
2 participants