Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

815 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

9 Experts available now in Live!

Get 1:1 Help Now