valens254 / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Apple Push Notification Service Provider for Java

JavaPNS 2.2

JavaPNS is a Java library to send notifications through the Apple Push Notification Service Welcome to the JavaPNS project, home of the most user-friendly, powerful and fine-tuned Java library for APNS! This fully-featured Java library allows developers to push notifications to iOS devices (iPhone, iPod, iPad, etc.) through the Apple Push Notification Service using a simple yet powerful set of tools. First-time users will find the library to be extremely easy to use (start with a single line of code!), while advanced users will benefit from the library's flexible design and scalability features.

Capabilities

Get started

  1. Read the documentation
  2. Meet the requirements
  3. Push notifications

Usage

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");
    }
}

Licensed under the GNU LGPL license v3.0 .

Automatically exported from code.google.com