Click here to Skip to main content
15,918,808 members
Home / Discussions / Mobile
   

Mobile

 
QuestionMobile Web Application on Pocket PC 2003 Emulator Pin
Ian Uy29-Jul-08 2:34
Ian Uy29-Jul-08 2:34 
AnswerRe: Mobile Web Application on Pocket PC 2003 Emulator Pin
Slick6926-Aug-08 10:18
Slick6926-Aug-08 10:18 
QuestionProblem to connect PDA with database. Pin
Sritanu _ Ghosh28-Jul-08 21:37
Sritanu _ Ghosh28-Jul-08 21:37 
AnswerRe: Problem to connect PDA with database. Pin
Pavel Klocek5-Aug-08 1:14
Pavel Klocek5-Aug-08 1:14 
AnswerRe: Problem to connect PDA with database. Pin
AlexeiXX36-Aug-08 14:39
AlexeiXX36-Aug-08 14:39 
GeneralRe: Problem to connect PDA with database. Pin
Sritanu _ Ghosh27-Aug-08 3:35
Sritanu _ Ghosh27-Aug-08 3:35 
QuestionPlay sound on Smartphone/PDA Pin
Parasmani Swamy28-Jul-08 20:25
Parasmani Swamy28-Jul-08 20:25 
AnswerRe: Play sound on Smartphone/PDA Pin
daxfrost30-Jul-08 20:41
daxfrost30-Jul-08 20:41 
From my experience, audio support with compact framework 2
is far more tedious than in ce3, you have to make do with very little,
so it may be a good idea to use 3, but of course
there are situations when you have to use ce2.

Using compact framework 3 you have access to far more including the
[SoundPlayer] class which has support for many many audio files
and does the work for you.

>> whenever a message comes in it should play a sound file

The most common way of playing a sound for ce2 would be to use
[PlaySound]... this is probably your best solution.

Once you add the class at this link you can create your own objects, either by passing
a file path or a nice way is to refer to your Resources and get the files byte array...
Sound sound = new Sound(YourApplication.Properties.Resources.SoundFile);
sound.Play();
Now the class at that link doesnt seem to work when using the stream constructor, so
add the following constructor to the class... You need to add this for the byte
array constructor example above to work...
public Sound(byte[] sound_bytes)
{
  // read the data from the stream
  m_soundBytes = sound_bytes;
}

Now, unfortunately from what I have tested this only supports .WAV files.
You can either do this... or try using WaveOut to play your sounds, which will still
only support .WAV files but can be built upon to support more...
Or you can play any file the phone supports by calling the local systems Media Player
with a file as the argument file to execute...


db

There are 10 kinds of people, those that understand binary, and those that don't...
QuestionC++ Getting Current Time for smartphone Pin
Lou7624-Jul-08 2:57
Lou7624-Jul-08 2:57 
AnswerRe: C++ Getting Current Time for smartphone Pin
tapan.x.bansal25-Jul-08 6:09
tapan.x.bansal25-Jul-08 6:09 
QuestionConnecting a WindowsCE devic to wireless router and transfering data to application server. [modified] Pin
bilal haider23-Jul-08 20:22
bilal haider23-Jul-08 20:22 
QuestionDeploying in a real device? Pin
Ian Uy23-Jul-08 18:50
Ian Uy23-Jul-08 18:50 
AnswerRe: Deploying in a real device? Pin
Parasmani Swamy29-Jul-08 0:32
Parasmani Swamy29-Jul-08 0:32 
Question.Net C.F. 2.0: Sent SMS don't get stored in the PocketOutlook "SMS\Sent Items" container Pin
Marco [Stinger]23-Jul-08 4:05
Marco [Stinger]23-Jul-08 4:05 
Questionfull gdi+ on .NET CF 2.0; how to p/invoke ImageCodecInfo? Pin
kacper8623-Jul-08 1:35
kacper8623-Jul-08 1:35 
QuestionMenuItem.Click event stops working Pin
Mark Lison17-Jul-08 5:57
Mark Lison17-Jul-08 5:57 
AnswerRe: MenuItem.Click event stops working Pin
Mark Lison31-Jul-08 0:14
Mark Lison31-Jul-08 0:14 
QuestionTransparent Controls in WM 5.0 Pin
akirilov15-Jul-08 5:02
akirilov15-Jul-08 5:02 
QuestionInvalidProgramException: When running the WM6.0 application on the WM5.0 device even after the Platform is changed Pin
kaushik_Manoj15-Jul-08 0:35
kaushik_Manoj15-Jul-08 0:35 
QuestionP/Invoke can not find dll Pin
xibeifeijian14-Jul-08 20:51
xibeifeijian14-Jul-08 20:51 
AnswerRe: P/Invoke can not find dll Pin
Luc Pattyn16-Jul-08 2:00
sitebuilderLuc Pattyn16-Jul-08 2:00 
GeneralRe: P/Invoke can not find dll Pin
xibeifeijian20-Jul-08 15:21
xibeifeijian20-Jul-08 15:21 
Questionopening, reading, and writing to a file (text or otherwise) on a pocket pc using visual basic net 2003 Pin
linuxskater13-Jul-08 17:13
linuxskater13-Jul-08 17:13 
AnswerRe: opening, reading, and writing to a file (text or otherwise) on a pocket pc using visual basic net 2003 Pin
Rupesh Kumar Swami14-Jul-08 20:27
Rupesh Kumar Swami14-Jul-08 20:27 
GeneralRe: opening, reading, and writing to a file (text or otherwise) on a pocket pc using visual basic net 2003 Pin
linuxskater15-Jul-08 4:21
linuxskater15-Jul-08 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.