Sample applications

To assist you in developing your applications and integrating them with the BlackBerry Web Services, you can visit https://github.com/blackberry/BWS-Samples to access the following sample applications for BlackBerry Enterprise Service 10 version 10.2:

  • SampleBwsClient.java : This application initializes and authenticates with the BlackBerry Web Services, collects and displays system information, and creates a device-enabled directory user.
  • AuthenticationSample.java : This application demonstrates the different methods for authenticating with the BlackBerry Web Services.

Both sample applications are compatible with the BlackBerry Web Services for the BlackBerry Device Service and the BlackBerry Web Services for the Universal Device Service. This section of the guide examines the sample applications and explains the purpose and structure of key sections of each sample.

https://github.com/blackberry/BWS-Samples also has code samples for BlackBerry Enterprise Service 10 version 10.1.3 and earlier. Use the code sample files for BlackBerry Enterprise Service 10 version 10.2.



Was this information helpful? Send us your comments.