Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

734 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