Working with Services

Mobile Device SDK provides you with a list of available services that you can use in a mobile application. All of these services need only to be defined if they are going to be used in an application. However, some services depend on other services, and these are therefore required. Examples of services that the framework components provide are, one for synchronizing the mobile device to the database, and one for configuring a barcode scanner to the device. To see all the available services, see Configuring Mobile Applications in the Microsoft Dynamics Mobile app.config File.

You can configure the services from the app.config file for the application. To do this, you implement a service factory class to create an instance of a service class.

In addition to the provided services, you can create your own service, such as a style service, that, for example, applies defined colors to the controls of a tasklet.

The Microsoft Dynamics Mobile sample application provides an overview of how to implement the available services, and how to create a new style service.

See Also

Community Additions

ADD
Show: