What platform are you experiencing this on?  Android, iOS, Simulator, etc..

Steve

On Thu, Sep 14, 2017 at 7:54 AM, David Wafula <[email protected]> wrote:

> Hi,
>
> I have WebComponent rendering local html file which contains links to
> downloadable files that are .doc. I  was expecting 
> Display.getInstance().execute(url)
> to atleast download the file, instead it tries to open the file as pdf and
> fails  obviously  (with message saying pdf is invalid format).
> How to force file download from WebComponent?
>
> --
> David W
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/CAK9Ws2fx-xAK7HrQnV%3Dm-bDsnV_
> iU2Rgj4NnBQkNicD6wjTQuA%40mail.gmail.com
> <https://groups.google.com/d/msgid/codenameone-discussions/CAK9Ws2fx-xAK7HrQnV%3Dm-bDsnV_iU2Rgj4NnBQkNicD6wjTQuA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXBv6%2B1MLv%2BysWBB%2BidqO1VpurRhVyiJdCp6v3qkDwL%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to