• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is there any way to create beep sound in web application(Internet URL ) not in server machine.

 
Greenhorn
Posts: 9
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my web application we are using handheld terminal for scanning the bar code. so i need to alert some beep sound or some other sound to the user.
What the API in java or applet. Please suggest on this matter. I have tried java awt System.out.println("\\007") and System.out.println("/007") it works only in server which is the ear file deployed machine.
Please do the needful.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out the Toolkit API docs to see if it can help you beep (hint)
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That too only works when you use an applet. Any other AWT / Swing code will run on the server.

If you want to play any sound on the client (browser) without using applets, you're stuck to whatever HTML and JavaScript allow you to do. Fortunately, that's still quite a bit, especially with HTML5's new audio element.
 
sankar ramalingam
Greenhorn
Posts: 9
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Many thanks experts for your helpful advice.

I have tried html embd tag in handheld that is not working which was working in my local systems (laptop) so how can i achieving this matter if you have any solution for this

please let me know.

Thanks again.
 
reply
    Bookmark Topic Watch Topic
  • New Topic