Skip to content
Advertisement

Tag: android-studio

Download file in Webview

I’m using webview in an Android application. I am trying to download a .pdf file, however when the link is clicked through the application the .pdf file name is changed to “1rcPnhg9_rSes92BiQPotVjXuEAfFnyrf.pdf”, and is not saved with the original file name. How to make webview save the file with the original name? At the moment the webview is saving the

chaquopy Does not add folder to phone

In my project, I tried to write a code using Chaquopy to add a folder to Android when running the program. Everything is correct and it does not give any error but nothing is added. here is my MainActivity code and this id python script What’s wrong? Answer Your Java code isn’t actually running any Python script. Check the Chaquopy

cordova gradle build SUCCESSFUL turns into FAILED

cordova gradle build SUCCESSFUL and then turns into FAILED. Maybe something is wrong with the versions? It seems to download a lower gradle version in the middle… why? Starting with versions: Gradle 7.3.3, Cordova 10.0.0, Java/JDK 17.0.2 – Here is the transcript (leaving only the main things): Answer After struggling for hours to find the correct versions, it appears that

Advertisement