Created
November 27, 2012 10:11
-
-
Save soulfly/4153456 to your computer and use it in GitHub Desktop.
BlackBerry 5,6,7 Messages sample: Reception notifications (TURN ON)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
System.out.println("----- Successfully subsribed on Push notifications"); | |
// Push Notification ON = 0 | |
// Push Notification OFF = 1 | |
OptionStorage.getInstance().getOption("Push notifications").setCurrentValueIndex(0); | |
} catch (Exception ex) { | |
DebugStorage.getInstance().Log(0, "<PushQbAuth> ProcessAnswer REQUEST_PUSH_SUBSCRIBE | |
Exception ", ex); | |
} | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment