|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
---|---|
javapns | The JavaPNS library |
javapns.communication | Classes for communicating with Apple servers. |
javapns.communication.exceptions | Communication-related exceptions thrown by the JavaPNS library. |
javapns.devices | Classes representing mobile devices. |
javapns.devices.exceptions | Device-related exceptions thrown by the JavaPNS library. |
javapns.devices.implementations.basic | A basic non-persistent implementation for devices. |
javapns.feedback | Classes for interacting with the Apple Feedback Service. |
javapns.json | A built-in implementation of the JSON.org library. |
javapns.notification | Classes for pushing notifications through Apple servers. |
javapns.notification.exceptions | Notification-related exceptions thrown by the JavaPNS library. |
javapns.notification.management | Specific payloads for Apple's MDM technology |
javapns.notification.transmission | Specialized classes for transmitting notifications to large number of devices. |
javapns.test | Testing tools for the JavaPNS library. |
A Java library for interacting with Apple's Push Notification Service.
The simplest way of pushing notifications with JavaPNS is to use the javapns.Push
class:
import javapns.Push;
public class PushTest {
public static void main(String[] args) {
Push.alert("Hello World!", "keystore.p12", "keystore_password", false, "Your token");
}
}
For more details about using the library, see the on-line wiki at:
http://code.google.com/p/javapns/w/list
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |