Create a subclass of BBMPlatformApplication

  1. Import the required classes and interfaces.
    import net.rim.blackberry.api.bbm.platform.*;
  2. Create the application framework by extending the BBMPlatformApplication class. The BBMPlatformApplication class must be extended by any application that registers with the BlackBerry Messenger platform.
    public class MyBBMAppPlugin extends BBMPlatformApplication
    {
        
    }
  3. In the MyBBMAppPlugin class that you just created, create a constructor. If necessary, implement the methods of the superclass in the MyBBMAppPlugin class.
    public MyBBMAppPlugin()
    {
        //Add any initialization code for your application here
    }

Was this information helpful? Send us your comments.