Solved

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

Posted on 2009-05-13
2
363 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
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

830 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