I want to send a Push Notification message to particular iPhone device using Java.
I dont have any idea how to do this.
I have googled on this, they have suggest
Use parse sdk from www.parse.com
, it helps in delivers a good way to handle push notification between ios and android(offcourse its java). Its really simple to work along with it..
The example on the parse.com site is not good for android, so i am giving the link of the site where the steps are much easier to work with
http://developingonandroid.wordpress.com/2011/11/24/3-android-push-notifications-in-parse-a-deep-overview/
Use JavaPNS. Here is an exaple:
import javapns.Push;
public class PushTest {
public static void main(String[] args) {
Push.alert("Hello World!", "keystore.p12", "keystore_password", false, "Your token");
}
}