+ 3

Execute Java Codes On My Website

Please is there a way to take data from textbox and radio of my website and use normal Java syntax to handle what is displayed as a result on my website?

13th Sep 2017, 9:55 AM
Michael Anokwulu
Michael Anokwulu - avatar
4 Answers
+ 7
You're welcome ^^
17th Sep 2017, 8:50 AM
Tashi N
Tashi N - avatar
+ 6
You could use a Java applet... But as the applets will be deprecated in Java 9, I'd like to recommend JavaScript instead of Java.
14th Sep 2017, 8:19 PM
Tashi N
Tashi N - avatar
+ 3
Thanks
17th Sep 2017, 8:50 AM
Michael Anokwulu
Michael Anokwulu - avatar
0
You mean running Java in JavaScript If that's what you mean, I actually managed to do some of these things JavaScript cannot do things like vibrate the phone But I managed to add this to javascript Prompt actually has 2 buttons, I added a third button to it I have somewhat succeeded in connecting javascript to java But if you find a function that converts the string into Java code and executes it This connection can be completed In fact, for this you need to work with Java and Android programming And you should be familiar with webview, web chrome client and onJsPrompt Because they actually do the whole job of connecting to Java JavaScript sends requests to Java through a prompt Java must check whether a code should be executed or a dialog should be displayed You can set for prompt or confrim or alert or console.log
22nd Jul 2022, 8:33 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar