29 views
in GUI Development by
Hi Gents,

 When building for target=WebGL I'd like to be able to do a touch handler press on a filename and have it like to, say, http://localhost/filename for the browser to download. How can I accomplish such external-to-app referencing?

1 Answer

0 votes
by

Hello Mike,

difficult to give you the right advice as it is more related to web page programming than to the Embedded Wizard.

Generally, you can implement any JavaScript code within a native code section. If you place the native code section within a slot method connected to the touch handler, the native code will be executed when the user touches within the handler's area.

The native code can thus perform the download. In Internet you can find examples how to implement such code by using JavaScript. Try to search for "How to download files in JavaScript".

I hope it helps you further.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...