Partilhar via


What's New: Mobile Device Development Enhancements

Applies to: SharePoint Foundation 2010

Microsoft SharePoint Foundation 2010 greatly expands access from mobile devices to SharePoint Foundation pages, lists, and functionality.

Mobile Web Part Adapters

It is now possible to have a mobile page that corresponds in purpose, data, and functionality to a nonmobile Web Parts page. You can adapt any Web Part on a nonmobile page by adding a control to the mobile page that duplicates the Web Part’s functionality. These controls are known as mobile adapters. Some of the major Web Parts that are built into SharePoint Foundation already have adapters. You develop your own adapters for Web Parts that you want to make available on mobile pages. A mobile adapter must be registered in the compat.browser file and registered as a Safe Control. When a mobile device accesses a Web Parts page, SharePoint Foundation redirects the device to the corresponding mobile page. For each Web Part on the Web Part page that has an adapter control, the adapter control will be rendered on the mobile page. For more information about developing mobile adapters, see Mobile Web Parts Pages and Adapters, How to: Create a Mobile Adapter, and Walkthrough: Creating a Mobile Adapter.

Mobile Messaging

Your SharePoint Foundation solutions can now incorporate Short Messaging Service (SMS) messages sent to mobile telephones. If your messaging solution uses the Outlook Message Service (OMS) protocol, most of your development work has already been done for you. A rich set of classes has been added to the object model to represent the Web Methods and response types of this protocol. If your solution requires a different protocol, base classes have been provided with default implementations of essential properties and methods.

SharePoint Foundation 2010 takes advantage of the new mobile messaging support to enhance its Alerts feature. Users can now choose to have Alerts sent as SMS messages to a mobile telephone. The SharePoint Foundation Web application is given its own account, which can be programmatically changed, with a messaging service provider. For more information, see Overview of Mobile Messaging Development.

New Mobile Pages and Controls

SharePoint Foundation 2010 adds many new types of mobile pages and over 60 new public mobile controls. These improvements provide new or enhanced support in mobile devices for view filtering, people selection, file uploading, images, wiki pages, Web Parts pages, and other functionality. The appearance of mobile pages is more colorful as well. In general, you can come much closer now to duplicating on a mobile device the full range of appearance, functionality, and data access that your SharePoint Foundation solutions provide to nonmobile users.

Mobile Document Viewers

You can create custom pages that host document viewers that enable mobile users to open, on their mobile device, documents from SharePoint Foundation document libraries even if they have been formatted for a particular desktop application, such as a spreadsheet or word processor application. For more information, see Developing Mobile Document Viewers.

See Also

Concepts

Building Block: Mobile Pages, Controls, and Adapters