Solved

Running a Sound File in Pocket IE, in Response to a asp.net event

Posted on 2009-05-13
2
367 Views
Last Modified: 2013-12-05
I have an asp.net website where a person enters an item, and the website basically says, "yes", "no" or "not found."  They are running the website on handheld devices, using Pocket IE (the device has an onboard scanner, to input much of the data via bar code.)

Now they want it to make a different sound depending on whether the result was "yes" "no" or "not found".  The application is C#/SQL.  Although I have found a few solutions that work in Internet Explorer, none of them work in Pocket IE.  It is important that I trigger the sound from C# (as the rules governing the yes/no/not found are there), and the sound must play automatically (without the user having to download it or otherwise interact with the screen.)  It would be OK to force them to download the sound files to their local device once, but I don't want it to prompt them every time!  

Any ideas?
0
Comment
Question by:showgie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Assisted Solution

by:Mikal613
Mikal613 earned 100 total points
ID: 24383989
0
 

Accepted Solution

by:
showgie earned 0 total points
ID: 24746954
Well, that solution didn't quite work, because it was intended for installed mobile applications, as opposed to running in a website.  But it gave me better keywords to Google.

I did eventually find a solution, based on this:
http://www.geekpedia.com/tutorial152_Embedding-Windows-Media-Player-into-a-web-page.html

It only was possible because they were running Windows mobile devices, so I knew they'd have media player.  I made the media player hidden, so it wasn't apparent to them what was going on.

I also had to add this solution:

http://handheld.softpedia.com/get/Internet-Utilities/PressOK-67035.shtml

Because without it, every time it went to play the sound file, it would prompt me, "Press OK to load the content of this page" (which was stupid-annoying, since there wasn't an option for "cancel", so it was going to load the page no matter what I did!)

There are probably better solutions out there, but this worked for me, for now.  
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question