Phone Profiles

An example of functionality which is implemented differently between touchscreen and non-touchscreen devices are Profiles. Standard Edition devices can feature a number of profiles for different scenarios, touch screen devices have just three - On, Vibrate only and Off. To retrieve all of the available profiles use the following code:-

foreach(string profile in InTheHand.WindowsMobile.Forms.MobileDevice.Profiles)

You can set the device profile using a call to SetProfile:-


The name of the currently selected profile is available from the CurrentProfile property:-


Feedback and Knowledge Base