Solved

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

Posted on 2009-05-13
2
361 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
2 Comments
 
LVL 48

Assisted Solution

by:Mikal613
Mikal613 earned 100 total points
Comment Utility
0
 

Accepted Solution

by:
showgie earned 0 total points
Comment Utility
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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now