HTML5 Beginner. I want a Speech-Box to run Java program - java

I am a beginner at HTML stuff, I was looking at http://slides.html5rocks.com/#speech-input and was wondering how I could press enter on text input or speak and afterwards run a Java application HelloWorld with the input String from the text box.
I would like a simple rundown of what I need to do. If there is any advice on Text-To-Speech Output, that would be icing on the cake :)

I'm sorry this question got thumbsed-down (it wasn't me) but maybe I can help you understand how you'll need to approach the problem (and if you're up for it!):
1) The new HTML5 speech input sends its string result as a form
2) You'd need to read this input, pass it along to middle-ware client-scripter (like jQuery - learn this), then use jQuery to instantiate your Java application in the client window
Again, sorry the community felt like this question wasn't worth answering...but it is a big one!

Related

is it possible to write words on other pages like google search box from java programs

I saw a macro program that writes words on anywhere when user click a key on keyboard.(write words that user typed in advance)
But when I study programing i learned just printing out on console or my project like use "system.out"or "setText/print"
problem
I just tried to get curser focus and write words but i can't go forward.
Is it possible to write something from java project to another programs??
I'm not sure whether I understood your question correctly, but you can 'inject' user inputs with the AWT Robot API:
https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html
Here's an example you can take a look at.

Indenting a tree file structure from string input

Click here to see a screenshot of the assignment
Here is how the Navigation.csv looks like, where I take data from
https://pastebin.com/JXnaRTzi <-- Click on the link for code - this is my code so far, I am reading the file and making objects from each entry
Guys I need help with this assignment. I chose to do it in Java, but really it doesn't matter. I need advise and help for making the right approach on this kind of problem so it can work on a larger file. What kind of data structures should I use and maybe if it's no bother, give me a solution. I am a new developer and I'm trying to get into backend and frankly I'm a bit lost.
Click on links above to see the task details.

Want to create a form filler - is java, jsp, html enough?

Summary - Want to make a simple website form filler. The website is NOT mine and I cannot edit its source code. Don't know what tools/languages are needed. Would java, jsp, html be enough ?
Request - Please reconsider your decision to close or downvote. I only need to know if java is enough or not.
There is a form on a website, say for reserving a visit to only one dentist. You fill your details and the date and time you want to visit. Then, it tells you if an appointment can be made or not, somewhere in the webpage.
This web page is NOT protected by CAPTCHA. I don't want to enter my details all the time to look for a reservation. I want to make code to do it for me.
I want to make code which will -
1 - Fill the details into the form and "press" submit.
2 - Then, read the resulting page and find out if a reservation is
available or not. If yes, do something like maybe - pop up a GUI
message, send e-mail or whatever.
3 - Repeat the above steps every 5 hours or so.
What are the languages and tools I would need to do this job ? Would I need more than java, jsp and html (thats all i know now) to make such code ?
Thanks.
I will suggest you try CURL. That will make you solution more simple in my opinion.
You can execute HTTP GET/POST with CURL, which is enough to solve your problem. Give it a try, and if you get block you can ask a more specific question about CURL or HTTP.
Hope it helps.
IMO, If you really just want to fill up some forms to check a reservation, no need to code anything, why not just install a plugin, Selenium, record your actions there and just run it at specified times: http://docs.seleniumhq.org/
Sure.
You need a web server and a database on the back end.
Since you feel comfortable with Java, JSP/HTML would probably be an ideal solution.
IMHO...

Logic of Java barcode reader for libraryMS

I have to do a library Magement System in Java Swing. I had done it well with all your supports. Thank you all. Now this s/w needs to identify book and students by barcode (1d). I couldn't get a perfect logic from any where. I have read in SO and other web. I got some logic. But the vision is not clear.
I know this.
bar-code scanner output to port - listen to key strock- need Interface
My doubt is
What the order of the logic flow. ?
do i have to add any lib/jar files to do it.
how to implement this?
I have read a focused text field is needed. How to know did the scanner end key stocks.
I am totally confused. Sorry for reading poor English. I will make up this
Advanced thanks for all your support .
Read the picture from the reader (depends on the hardware, you might need to use the proprietary API or whatever it requires)
Use a barcode reading library to 'parse' the picture. (like zxing, which maybe can access a camera?)
which will give you the number hidden in the barcode.

Conversion of text to picture-message?

Friends,
I need to know how to convert a text to a picture-message(.ota) format in JAVA for sending through mobiles? I am developing a software that sends the picture-message to another mobile via serial-port.
Could anyone help for creating a routine for the conversion process? I need that routine to converts the given text/picture to a .ota format?
Having read the article about the file format I would say it doesn't sound all that complicated. The basic steps are pretty much outlined and could be implemented within the hour.. Guessing you've that that already by now?
(And if so, mind sharing the code to solve the question? ;) Shouldn't need to be anything over a few hundred lines, right?)

Categories

Resources