-
Notifications
You must be signed in to change notification settings - Fork 576
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
Help to make downloads work in Jasonette-Android Advanced Webview Branch #299
Comments
Thanks! Although it’s more of a question for their repository vs. this one here, you got everything right already. If the following is all they did to integrate this library here, it’s not enough, because they missed all custom callbacks and listeners: The method you have identified should be the critical one, others might be necessary for other features. I think it should fit in Does that help? |
Thank you for your reply. I tried to implement this one by adding:
but building in Android Studio says method does not override or implement a method from a supertype :160 160 is the @OverRide |
Addition: I read somewhere that somtes removing @OverRide helps. Triesd it, then it compiles, but then the download is not working as without the addition. |
I’m sorry, there are more missing pieces. You can add back the First, you must change
to
Then, after
you have to insert the line
And finally, you may have to add more methods from the README, as you did with that one method, until it stops complaining that some methods are not implemented. |
SOLVED Thank you so much for your help! It works perfect now! For all running into the same problem:
|
Glad to hear that it works, thank you! The only thing you don’t have yet is a status message informing the user about the result of their download. To implement that, around the call to |
I try to get downloads working since days, but unsuccessful. Have to admit, I am no dev, so double hard. For me it looks like some parts of the implementation. I use the advanced webview branch
https://github.com/jasonelle/jasonette-android/tree/advanced-webview
which has
https://github.com/delight-im/Android-AdvancedWebView
included.
Downloads are handled automatically and can be listened to
but I am not good enough in Java to be able to chang/add it myself.
Any hint would be greatly appreciated.
The text was updated successfully, but these errors were encountered: