JumpGo-for-Android icon indicating copy to clipboard operation
JumpGo-for-Android copied to clipboard

Can't 'add a photo' on the Tumblr site.

Open Rbagman opened this issue 9 years ago • 3 comments

When I press the 'add a photo' button nothing happens. It usually asks which app I want to use to select the image with. Javascript is enabled.

Rbagman avatar Aug 16 '16 22:08 Rbagman

This video shows what happens on my device when I try to replicate your problem. https://youtu.be/L5NS1l84Idg if you don't mind, what device and Android version are you using?

nutellarlz avatar Aug 19 '16 18:08 nutellarlz

Yeah, that's not happening here. The image link option works.

Samsung (GT-N7100) Android 4.4.2

-----Original Message----- From: "Josiah Horton" [email protected] Sent: ‎8/‎19/‎2016 14:01 To: "JTechMe/JumpGo" [email protected] Cc: "Rbagman" [email protected]; "Author" [email protected] Subject: Re: [JTechMe/JumpGo] Can't 'add a photo' on the Tumblr site. (#9)

This video shows what happens on my device when I try to replicate your problem. https://youtu.be/L5NS1l84Idg if you don't mind, what device and Android version are you using? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Rbagman avatar Aug 21 '16 14:08 Rbagman

Hi! I actually had to address this problem myself recently. It is most probably caused by a missing interface method of the WebChromeClient. There are three to four different methods for Android 4.1/2, 4.4 and 5.0+.

4.1/2 is called protected void openFileChooser(ValueCallback<Uri[]> uploadMsg, String acceptType, String capture), 5.0+ has the signature public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, FileChooserParams fileChooserParams). I fixed the problem by having the one for 4.1/2 and 5.0+ in my WebChromeClient. Note that the first message appears to AndroidStudio as unused and can't have the @Override prefix for some reason.

I hope that helps you addressing the problem :)

vanitasvitae avatar Sep 08 '16 06:09 vanitasvitae