How to send Push Notification Message to iPhone using Java?

后端 未结 2 1642
野的像风
野的像风 2021-01-23 15:26

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

相关标签:
2条回答
  • 2021-01-23 15:44

    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/

    0 讨论(0)
  • 2021-01-23 15:51

    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");
    
    
           }
     }
    
    0 讨论(0)
提交回复
热议问题