The getFilter() method is a method of the PushRegistry class. It is used to extract the registered filter for a specified push connection. The general syntax of this method is as follows:
Here, the Connection parameter is the string specifying connection protocol, host, and port number.
This method returns either a URL string indicating which senders are allowed to cause the MIDlet to be launched or null indicating that the push connection was not registered by the current MIDlet suite.
Become SUN SCMAD certified. Pass SCMAD Mobile Application Developer in first attampt.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
