问题
When I click the calculator button in my GWT application its trying to call the External Windows Calculator (External webapps). I used to achieve this on ProcessBuilder class in java side.
But i will not able to do it. i have seen one post in stackoverflow similar problem like what i am facing now Post link. There i could not see any solution for that problem thats why i am rising again.
Anybody know How to call the external windows calculator from GWT application?
回答1:
You cannot, by design. If you really, really, really need to, you can ask the user to install some registry fixes that allow you to use the calculator as a custom URI protocol (such as calc://), but that raises so many flags (also in the browser, when you use that link) that it's not worth it.
More to the point: What are you trying to achieve with this? Why do you want to be able to do it?
来源:https://stackoverflow.com/questions/26654031/calling-a-windows-calculator-in-a-gwt-web-application