Skip to end of metadata
Go to start of metadata

Mobile services are arguably the main reasons why traditional business applications are migrated to the native mobile platforms. Mobile services leverage the hardware capabilities of the device in native programming interface, such as capturing photo from camera, locating an address with GPS, making call using the built-in telephony, and much more. As a result, business apps that are built on native mobile platforms have greater integration and deliver richer experiences to the user. Crosslight for Windows Phone platform includes full-featured mobile services available in the Crosslight Foundation.

The mobile services are typically accessed from the shared application layer such as in ViewModel. This allows you to streamline user interaction logic completely in a single ViewModel. As a result of the maximized code sharing, the same ViewModel can be easily consumed in other platforms such as Android or iOS. For more information about programming with mobile services, see Working with Mobile Services.

The following illustration overviews the expected behaviors and results of the mobile services available in the Windows Phone platform.

On this page:

Mobile Services Limitations on Windows Phone Platform

Windows Phone's mobile services comes with certain limitations. The following highlights the limitations that comes with each mobile service in the Crosslight.WinPhone framework.

Mail Service

Automatic insertion of attachment cannot be done, attachment still needs to be set manually when the mail service is invoked.

Social Service

Windows Phone will automatically show all relevant social sharing actions and present them to the user as actions.

Camera Service

Camera settings such as flash needs to be set manually when the camera is launched.

Connectivity Service

Network activity indicator is shown by default.

Media Library Service

The media library service can only select image or photo files.

Notification Service

Notification in Windows Phone are conditional, it may not appear when current application is on foreground, as stated in the Windows Phone guidelines not to show notification when application is running on foreground, instead we can show the message using message box or etc. As notification are "best-attempt" in nature, the notification may also come late, depending on the network connection of the device.