Guest Palindrome Posted August 2, 2004 Report Posted August 2, 2004 What I'd like to do is be able to press the left soft key have have a sound play every time I do this. I'd be grateful if someone could tell me how to play a sound from an embedded resource. I have found examples but none that are Smartphone specific. Failing that is there a way to play the system sounds (like the menu sounds or that annoying clunk sound)?
Guest abejan Posted August 4, 2004 Report Posted August 4, 2004 Is the sound to be played inside your app or regardless of the app? If it's inside your app only, you may look into www.OpenNetCF.org and use the OpenNETCF.Multimedia.Audio namespace for an easy way of playing sounds. abejan
Guest Palindrome Posted August 5, 2004 Report Posted August 5, 2004 Cheers for the link. I finally got it working by making a sound class and using pInvoke. It seem most info is out on the net somewhere, it's just a case of finding it. I only wish someone would release a Smartphone C# .NET specific book.
Guest NeilC_MVP Posted August 18, 2004 Report Posted August 18, 2004 There's no point in having a Smartphone-specific .NET Compact Framework book. The only real device between Smartphone and Pocket PC is the UI. The .NET Compact Framework is the same API set on both devices, so if you need .NET CF infomation for Smartphone, find Pocket PC stuff and it will work just as well.
Guest Palindrome Posted August 20, 2004 Report Posted August 20, 2004 Only the UI? Great, that's gonna help a lot.
Guest Brody Posted August 23, 2004 Report Posted August 23, 2004 I was under the impression that there were differences, the first one that comes to mind is the lack of File Manager API for the Smartphone, i believe this to be the case?
Guest Peter Foot Posted September 9, 2004 Report Posted September 9, 2004 In terms of functionality in the Compact Framework itself, the only differences are that Smartphone has only a subset of the forms controls, and doesn't support SqlCe database. Once you get into the realms of Platform Invoke and the API functions there are some more noticable differences. However many of the core API functionality such as file access, gdi etc are exactly the same since they are inherited from their common underlying OS (CE.NET 4.2). It would not be economically viable to produce a Smartphone with NETCF specific book, however you'll find lots of Smartphone specific articles around the web which cover the platform specific features. There are a number of great books on .NETCF in general, theres a fairly comprehensive list here:- http://wiki.opennetcf.org/ow.asp?Books Peter
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now